Vue中经常出现 报错:Component name “xxxx“ should always be multi-word.

Posted shaoyishi

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Vue中经常出现 报错:Component name “xxxx“ should always be multi-word.相关的知识,希望对你有一定的参考价值。

报错:Component name “xxxx” should always be multi-word.意思是说组件名"xxxx"应该总是多个单词,其实就是eslint报出我的组件名称命名不规范,应该采用驼峰命名法。 解决方法就是在vue.config.js文件中写入lintOnSave:fals

以上是关于Vue中经常出现 报错:Component name “xxxx“ should always be multi-word.的主要内容,如果未能解决你的问题,请参考以下文章

vue脚手架中组件的命名报错-vue/multi-word-component-names

vue脚手架中组件的命名报错-vue/multi-word-component-names

Vue.js搭建路由报错 router.map is not a function,Cannot read property ‘component’ of undefined

Vue报错——Component template should contain exactly one root element. If you are using v-if on multiple

vue加载组件报错说提前加载

vue组件终端报错: error Component name “xxx“ should always be multi-word vue/multi-word-component-names