Component name “xxx“ should always be multi-word vue/multi-word-component-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 //添加此项
})
本文来自博客园,作者:北方Cc,转载请注明原文链接:https://www.cnblogs.com/beifangcc/p/16654459.html

浙公网安备 33010602011771号