[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the “name” option.
found in
—> at src/App.vue
该报错有很大概率是VUE没有进行注册
解决方法:
可以先检查一下在router > index.js文件,如果缺少注册语句可以添加以下代码
import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)