0%

vue:Failed to resolve component:xxx

vue 项目中控制台报警告

1
2
3
4
[Vue warn]: Failed to resolve component: xxx
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
at...

大概率是没有注册组件,注册即可

参考链接

https://blog.csdn.net/m0_51221102/article/details/120497365