extend(config, ctx) {
      // Run ESLint on save
      if (ctx.isDev && ctx.isClient) {
        config.module.rules.push({
          enforce: 'pre',
          test: /\.(js|vue)$/,
          loader: 'eslint-loader',
          exclude: /(node_modules)/
        })
      }

      // Add markdown support
      config.module.rules.push({
        test: /\.md$/,
        use: 'raw-loader'
      })
    }
/*
     ** You can extend webpack config here
     */
You can extend webpack config here
You can extend webpack config here
extend(config, ctx) {
      if (ctx.isDev && ctx.isClient) {
        config.module.rules.push({
          enforce: 'pre',
          test: /\.(js|vue)$/,
          loader: 'eslint-loader',
          exclude: /(node_modules)/
        })
      }
      config.module.rules.push({
        test: /\.md$/,
        use: 'raw-loader'
      })
    }
extend ( config , ctx ) { if ( ctx . isDev && ctx . isClient ) { config . module . rules . push ( { enforce : 'pre' , test : / \.(js|vue)$ / , loader : 'eslint-loader' , exclude : / (node_modules) / } ) } config . module . rules . push ( { test : / \.md$ / , use : 'raw-loader' } ) }
You can extend webpack config here
You can extend webpack config here
// Run ESLint on save // Add markdown support