Vue关闭eslint语法检查
在项目结构目录找到 vue.config.js 在其中添加 lintOnSave: false
// vue.config.js
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true,
lintOnSave: false, // 关闭eslint语法检查
publicPath: './',
assetsDir: 'static',
})
版权声明:
作者:byboy
链接:https://blog.byboy.cn/?p=355
来源:Byboy's Blog
文章版权归作者所有,未经允许请勿转载。

共有 0 条评论