报错Component name “xxx“ should always be multi-word vue/multi-word-component-names
VUE3报错Component name “Header” should always be multi-word vue/multi-word-component-names
是因为开启了语法检查,写成驼峰就可以,如果不写成驼峰,则要在vue.config.js中加入下列语句:
lintOnSave:false//关闭语法检查
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
tr
原创
2022-04-17 22:52:51 ·
13178 阅读 ·
0 评论