报错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 ·
12974 阅读 ·
0 评论