美文网首页
You may use special comments to

You may use special comments to

作者: rainbowz | 来源:发表于2019-02-26 10:13 被阅读0次
图片.png

在build/webpack.base.conf.js文件中,注释或者删除掉:module->rules中有关eslint的规则

module: {
  rules: [
    //...(config.dev.useEslint ? [createLintingRule()] : []), // 注释或者删除
    {
      test: /\.vue$/,
      loader: ‘vue-loader‘,
      options: vueLoaderConfig
    },
    ...
    }
  ]

然后 nmp run dev 就能正常运行了


图片.png

https://www.cnblogs.com/gaoquanquan/p/9550169.html

相关文章

网友评论

      本文标题:You may use special comments to

      本文链接:https://www.haomeiwen.com/subject/ikcoyqtx.html