Vue 错误

vue3

error Component name "xterm" should always be multi- word vue / multi - word - component - names You may use special comments to disable some warnings.

或者

Use // eslint-disable-next-line to ignore the next line. Use /* eslint-disable */ to ignore all warnings in a file.

# vue.config.js
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,   // 添加这个
})

Last updated