vueJS 解决VSCode 中 报错"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."
在bulid > webpack.base.conf.js 中,注释或删除掉: module -> rules 关于eslint的部分
module: { rules: [ // ...(config.dev.useEslint ? [createLintingRule()] : []), //注释或删除 { test: /.vue$/, loader: 'vue-loader', options: vueLoaderConfig }, ] }
然后 npm run dev 就能启动了