标题: [前端]浏览器告诫:Failed to resolve component: xxxIf this is a native [打印本页] 作者: 慢吞云雾缓吐愁 时间: 2024-7-23 01:38 标题: [前端]浏览器告诫:Failed to resolve component: xxxIf this is a native 如果你在做前端时,发现图表在浏览器显示时,浏览器控制台告诫为:Failed to resolve component: xxx
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
中文翻译为:未能解析组件:xxxx如果这是一个当地自界说的元素,请确保从组件解析中排除他
原因:
这个组件没有举行注册
办理:
1.setup 拼写错误
例子: