I have a problem. I installed Vuetify to my existing Laravel application (of course I had installed Vue before). My friend started to create templates with vuetify. Then we found an error in the console.
'app' has been removed, use '' instead.
The application works correctly but we have this error. I think it is because we're using the application incorrectly. I was trying to include Vue components to blade template for a few ways but any were not well. I tried using <v-app>
, <app>
in blade, deleted <v-app>
from App.vue and mixed different ways ineffectively.
This is part of my app.js:
const app = new Vue({
el:'#app',
router,
store,
vuetify,
render:h => h(App)
});
This is App.vue
<template>
<v-app>
<v-content>
<router-view></router-view>
</v-content>
</v-app>
</template>
This is blade template where I include vue component.
@extends('setup')
@section('app')
<div id="app">
<App></App>
</div>
@endsection
How do I include the App component in my blade?