Component name “Home“ should always be multi-word vue/multi-word-component-names
Component name "Home" should always be multi-wordvue/multi-word-component-names
·
You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.
ERROR in
E:\VUE\vue-manage\views\Home.vue
9:11 error Component name "Home" should always be multi-word vue/multi-word-component-names
报错!
原因:命名问题
方法:在vue.config.js中添加lintOnSave:false;
更多推荐
已为社区贡献1条内容
所有评论(0)