Skip to content

acacha/vue-cli-problem-laravel

Repository files navigation

Module build failed (from ./node_modules/eslint-loader/index.js): Error: No ESLint configuration found.

See vuejs/vue-cli#2539

File vue.config.js

const path = require('path');
module.exports = {
  chainWebpack: config => {
    config.module
      .rule('eslint')
      .use('eslint-loader')
      .tap(options => {
        options.configFile = path.resolve(__dirname, ".eslintrc.js");
        return options;
      })
  },
  css: {
    loaderOptions: {
      postcss: {
        config:{
          path:__dirname
        }
      }
    }
  }
}

About

vue-cli-problem-laravel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published