如果没有安装vue项目,在选择Use ESLint to lint your code? 为N即可,如果已安装vue项目怎么去掉代码检测呢

在build/webpack.base.conf.js里边找到以下代码注释或者删掉

const createLintingRule = () => ({
test: /\.(js|vue)$/,
loader: 'eslint-loader',
enforce: 'pre',
include: [resolve('src'), resolve('test')],
options: {
formatter: require('eslint-friendly-formatter'),
emitWarning: !config.dev.showEslintErrorsInOverlay
}
})
注释或者删掉即可

AD:阿里云2000元代金券九折优惠点我领取 ¥2000元大礼包

AD:腾讯云2860元无门槛代金券,限时领取点我领取 ¥2860无门槛代金券