Solved: Vue3 project eslint error error Component name “Home” should always be multi-word vue/multi-word-component

Questions are as follows:

 solution:

Open vue.config.js and add lintOnSave: false

The added vue.config.js is as follows:

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

Then npm run serve restarts the project

Guess you like

Origin blog.csdn.net/weixin_53141315/article/details/130891661