原始错误
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
解决方法(一种)
import Hello from './pages/hello.vue'
export default {
data(){
return{
}
},
methods:{
},
component:{
Hello
}
}
component忘了加s
import Hello from './pages/hello.vue'
export default {
data(){
return{
}
},
methods:{
},
components:{
Hello
}
}