vue报错You may use special comments to disable some warnings解决
在build/webpack.base.conf.js
文件中,注释或者删除掉:module->rules中有关eslint
的规则
module: {
rules: [
//...(config.dev.useEslint ? [createLintingRule()] : []), // 注释或者删除
{
test: /\.vue$/,
loader: 'vue-loader',
options: vueLoaderConfig
},
...
}
]
}
还没有评论,来说两句吧...