error Component name “index“ should always be multi-word vue/multi-word-component-names
errorComponent name "index" should always be multi-wordvue/multi-word-component-names
·
Vue3在编译的时候报错error Component name "index" should always be multi-word vue/multi-word-component-names
,解决方法是关闭语法检查,在vue.config.js中增加下面配置
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true,
lintOnSave:false
})
更多推荐
已为社区贡献7条内容
所有评论(0)