Exploring the world of vuejs for the first time, I found myself faced with an error while trying to integrate it into a laravel framework:
[Vue warn]: Unknown custom element: <app> - have you correctly registered the component? For recursive components, make sure the "name" option is provided.
App.js
import Vue from 'vue'
import Vcinfo from './Vcinfo.vue'
import router from './router'
const app = new Vue({
el: '#vcinfo',
components: { Vcinfo },
template: '<app></app>',
router
})
Can anyone provide guidance on how to resolve this issue?