[Vue warn]: Unknown custom element: – did you register the component correctly【解决办法】

今天爱分享给大家带来[Vue warn]: Unknown custom element: – did you register the component correctly【解决办法】,希望能够帮助到大家。

[Vue warn]: Unknown custom element: – did you register the component correctly? For recursive components, make sure to provide the “name” option.

原因: 被引用的组件页面没有进行export,导致寻找不到浏览器console报错,但是编译的时候没有语法问题不报错
解决:

 export { default as AppMain } from './AppMain'

原文链接:https://blog.itblood.com/1262.html,转载请注明出处。
0
塔纳托斯 精翻汉化版+全CG存档 [超爆款RPG/汉化/全动态/全CV]
塔纳托斯 精翻汉化版+全CG存档 [超爆款RPG/汉化/全动态/全CV]
8分钟前 有人购买 去瞅瞅看

站点公告

显示验证码
没有账号?注册  忘记密码?