10:1 error Mixed spaces and tabs no-mixed-spaces-and-tabs
11:8 error Component name "School" should always be multi-word vue/multi-word-component-names
D:\前端\code\vue\vue_test\src\components\Student.vue
9:1 error Mixed spaces and tabs no-mixed-spaces-and-tabs
10:8 error Component name "Student" should always be multi-word vue/multi-word-component-names
✖ 4 problems (4 errors, 0 warnings)
出现以下情况的错误
修改方法:在vue.config.js中直接添加一行代码即可:lintOnSave:false
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true,
lintOnSave:false
})