Vue3报错:Failed to resolve component: Refresh If this is a native custom element, make sure to exclude
自定义组件父子组件通信报错:Failed to resolve component: refresh if this is a native custom element, make sure to exclude it from component resolution via compileroptions.iscustomelement.
·
自定义组件报错
Failed to resolve component: refresh if this is a native custom element, make sure to exclude it from component resolution via compileroptions.iscustomelement.
无法解析组件:刷新如果这是本机自定义元素,请确保通过compiler options . iscustomelement将其从组件解析中排除。
解决:报错的重点在 Refresh If this is a native custom element。一般报这个错误是引用拼写的问题。故检查组件的引用、拼写是否有误错误。
后检查代码得知,是引用错误,在使用父子组件通信时,光顾着抽取模块,引用部分忘转移了
更多推荐
已为社区贡献1条内容
所有评论(0)