[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
和存在感薄弱妹妹一起的简单生活 v0.80 官方中文版[更新][PC+安卓/4.1G] [同居互动SLG/官中/动态]
和存在感薄弱妹妹一起的简单生活 v0.80 官方中文版[更新][PC+安卓/4.1G] [同居互动SLG/官中/动态]
9分钟前 有人购买 去瞅瞅看

站点公告

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