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.的主要内容,如果未能解决你的问题,请参考以下文章