问答文章1 问答文章501 问答文章1001 问答文章1501 问答文章2001 问答文章2501 问答文章3001 问答文章3501 问答文章4001 问答文章4501 问答文章5001 问答文章5501 问答文章6001 问答文章6501 问答文章7001 问答文章7501 问答文章8001 问答文章8501 问答文章9001 问答文章9501

vue.js首次运行出现错误,这个要怎么解决

发布网友 发布时间:2022-05-01 09:26

我来回答

2个回答

懂视网 时间:2022-05-14 21:00

本篇文章给大家带来的内容是关于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: <mu-col> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list-item> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list-item> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list-item> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list-item> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list-item> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list-item> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list-item> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list-item> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list-item> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list-item> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list-item> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list-item> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Left> at srccomponentsLeft.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-appbar> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Top> at srccomponentsTop.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Top> at srccomponentsTop.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-chip> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Top> at srccomponentsTop.vue
 <App> at srcApp.vue
  <Root>
warn @ vue.runtime.esm.js?2b0e:587
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-avatar> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Top> at srccomponentsTop.vue
 <App> at srcApp.vue
  <Root>
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-UI

npm i muse-ui -S

(2)引入Muse-UI

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

Vue.use(MuseUI);

相关推荐:

js如何调试?js利用断点进行调试的方法

js兼容问题:js事件兼容的方法总结(附例子)

原生js对DOM可以进行什么操作?原生js对dom的操作方法

热心网友 时间:2022-05-14 18:08

照你图中的错误提示来看:cnpm显然没有安装成功,命令不可用。其实npm的资源没有想象中被墙的那么严重,那么慢,没必要使用cnpm。 权限不够,【开始】菜单栏找到node.jscommandprompt找到所在文件夹,右键----->属性——>兼容性---->以管理员身份运行----->确定。另外可能的原因就是:没有把node.js添加到系统环境变量,导致node.js不能全局使用,把node.js的启动路径添加到系统环境变量即可。你这里最主要的原因就是权限不够,另外开始下载的时候,win10的防火墙会提示node.js的联网,记得允许。
声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com
CAD具体是学什么的 cad学什么专业好 CAD属于什么课型 文胸36/80是什么尺码 21.22.23.24.25.这5个数横竖家起来都要等于69 21.22.23.24.25.5个数字横竖等于69怎么做 已知递增的等差数列{an}满足a1=1,a3=a2²-4,则an=? 已知递增等差数列an的前n项和为Sn,a1=1,且a2+1,a4+1,S4成等比数列 求数... 金鱼吊兰有什么作用,可供观赏改善风水 金鱼吊兰是什么植物? vue提示语法错误,请问错误在哪 我想找关于消费与经济增长的开题报告,可以帮我吗? 我正在写快餐网购系统的开题报告,老师叫我加用户支付的模块进去,我想了解下用户是如何付款的… vue 报错Error compiling template(父组件)? 国际经济与贸易专业,题目:国际贸易支付手段应用分析。求开题报告? 浅析企业并购中的筹资及支付方式的选择 论文及开题报告怎么写 为什么下载的vue.js出现错误 console.error((&quot;[Vue warn]: &quot; + msg... young men 应翻译成年轻男人还是年轻人? 古代年轻女子称年轻男子为公子,那男子应如何称呼女子 中学生使用手机的利与弊开题报告 朋友圈下面怎么自己编辑文字 形容男子年轻潇洒 小伙子能指30左右的年轻男性,那小伙也能指30左右的男性吗? 知网提交开题报告可以用手机吗 形容男人年轻的词 支付宝和微信的金融业务竞争分析开题报告怎么写? 形容男子年轻帅气的词语 第三方支付平台的问题分析开题报告怎么写 夸年轻男子帅气的成语 需要一份网上购物存在问题及对策分析论文开题报告 小米2s现在多少钱哦? [Vue warn]: Error in render: &quot;TypeError: Cannot read property &#39;thumbnail&#39; of undefined&quot; 新建的vue项目为什么显示里面文件有错误呢? ReferenceError: vue is not defined 或者 VUE is not defined是什么意思? 为什么php脚本报错? vue.js中异步请求报这个错误的意思是什么? 小米2s现在市场价多少啊?谢谢! 小米2S现在多少钱啊 小米2S现在多少钱?目前价格走势怎么样? 小米2s现在市场价大概在多少钱左右? 佳能打印机可用的颜料墨水? 佳能照片打印机有那款可以用颜料墨水 are、lie、give、stay、do、write、enjoy、can、read、live、try的过去... 写出下列动词的第三人称单数形式,动词ing的形式和过去式 英语中,延续性动词和非延续性动词如何区别 英语,根据句意,用括号的词适当形式填空(be,read,stay,not,do,geography) 在线=== 请问佳能自带连供打印机g2810,把青色(蓝色)染料墨水加到了加黑色颜料墨水的盒里,怎么办?_百度问一问 看书的英文怎么写 2016年下半年甘肃省幼儿园教师资格证统考笔试科目? 英语高手进,请把所有的时态都列出来