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
})
Logo

前往低代码交流专区

更多推荐