Component name "Aside" should always be multi-word vue/multi-word-component-name
时间: 2023-12-05 21:45:44 浏览: 158
根据引用\[1\]和引用\[2\]的内容,报错"Component name 'Aside' should always be multi-word vue/multi-word-component-name"是由于Vue项目中的组件名不符合eslint规范导致的。根据引用\[3\]的内容,组件名需要以驼峰式命名至少两个单词,所以可以将"Aside"修改为"AsideComponent"或其他符合规范的多个单词组成的组件名。这样修改后,就可以解决这个报错了。
#### 引用[.reference_title]
- *1* [Vue报错【已解决】【Component name “xxx“ should always be multi-word vue/multi-word-component-names...](https://blog.csdn.net/m0_62742402/article/details/127668141)[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^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [error Component name “xxx“ should always be multi-word vue/multi-word-comp](https://blog.csdn.net/qq_46580571/article/details/123979098)[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^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [Vue项目报错: Component name “xxx“ should always be multi-word vue/multi-word-component-names](https://blog.csdn.net/qq_40787608/article/details/125288188)[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^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文