关于报错Unknown custom element:did you register the component correctly? For recursive components的解决方式
报错:[Vue warn]: Unknown custom element: <d01-person-thing> - did you register the component correctly? For recursive components, make sure to provide the "name" option.解决:组件循环引用(两个组件同时引用另一个组件时)发生
·
报错:
[Vue warn]: Unknown custom element: <d01-person-thing> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
解决:
组件循环引用(两个组件同时引用另一个组件时)发生这个错误,在components中通过以下方式引用可以解决
components: {
D01PersonThing : ()=>import(""@/components/D01PersonThing"),
},
更多推荐
已为社区贡献1条内容
所有评论(0)