首页 > 其他分享 >Component name “xxx“ should always be multi-word vue/multi-word-component-names

Component name “xxx“ should always be multi-word vue/multi-word-component-names

时间:2022-10-06 13:33:58浏览次数:43  
标签:multi vue word Component should names

vue 报错Component name “xxx“ should always be multi-word vue/multi-word-component-names

新的版本中,要求了componets的命名格式,如果想要忽视此规则,需要修改vue.config.js

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

标签:multi,vue,word,Component,should,names
From: https://www.cnblogs.com/beifangcc/p/16654459.html

相关文章