Component name "Count" should always be multi-word.
时间: 2023-12-05 15:08:51 浏览: 258
根据引用和引用可以得知,组件名 "Count" 应该采用多个单词的形式命名。根据 ESLint 官方代码风格指南,除了根组件(App.vue)以外,其他自定义组件命名都应该使用大驼峰命名方式或者用"-"连接单词进行命名。因此,为了符合规范,你可以将 "Count" 组件名修改为多个单词的形式。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [vue脚手架报错:“Component name “***“ should always be multi-word”解决方法](https://blog.csdn.net/Cuichenyang158/article/details/127635243)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [Eslint检验项目报错 Component name xxx should always be multi-word vue/multi-word-component-names解决...](https://blog.csdn.net/august_shi/article/details/129879133)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文