问题说明
在vue3项目开发中,浏览器控制台警告报错:Vue warn]: Failed to resolve component: router-view | If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.,vue3 报错 “未能解析组件:router-view 如果这是本机自定义元素,请确保通过compilerOptions.isCustomElement将其从组件解析中排除。”
其他教程都无法解决,本文提供的解决方案完美搞定此问题。