vue.js与php的模板,Vue.js模板报错该如何解决?Vue.js模板报错的解决方法

本篇文章给大家带来的内容是关于Vue.js模板报错该如何解决?Vue.js模板报错的解决方法,有一定的参考价值,有需要的朋友可以参考一下,希望对你有所帮助。

1、错误描述log.js?1afd:24 [HMR] Waiting for update signal from WDS...

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Left.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Top.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Top.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Top.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src\components\Top.vue

at src\App.vue

warn @ vue.runtime.esm.js?2b0e:587

vue.runtime.esm.js?2b0e:8010 Download the Vue Devtools extension for a better development experience:

https://github.com/vuejs/vue-devtools

2、错误原因

在使用Muse-UI组件,但是没有安装这个组件,更没有引入这个组件,导致出现了找不到

3、解决办法

(1)安装Muse-UInpm i muse-ui -S

(2)引入Muse-UIimport MuseUI from 'muse-ui';

import 'muse-ui/dist/muse-ui.css';

Vue.use(MuseUI);

相关推荐:

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值