vue 对语法的要求过于严格所以编译的时候报下面这个错误
vue 报错http://eslint.org/docs/rules/xxxxx

解决办法:

bulid文件夹 -> webpack.base.conf.js 找到下面的代码:

 module: {
    rules: [
      //...(config.dev.useEslint ? [createLintingRule()] : []),  //注释掉这个
      {
        test: /\.vue$/,
        loader: 'vue-loader',
        options: vueLoaderConfig
      },

相关文章:

  • 2021-09-06
  • 2022-12-23
  • 2021-09-17
  • 2022-12-23
  • 2021-05-24
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-23
  • 2021-04-14
  • 2022-12-23
  • 2021-12-17
  • 2022-12-23
相关资源
相似解决方案