欢迎光临
个人技术文档整理

【Vue】在VsCode中报错 error Component name "About" should always be multi-word vue/multi-word-component-names 的解决方法

错误:error  Component name "Home" should always be multi-word  vue/multi-word-component-names

解决方案:

在vue.config.js里加一句 lintOnSave: false
 

const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave:false
})

 

 

赞(1)