Home

Issue: 2504

failure eslint nuxt-class-component

[issue link]

How do I use nuxt-class-component?
An error occurs in eslint.

Is there anything other than turning off the bottom?

    extend (config, ctx) {
      if (ctx.dev && ctx.isClient) {
        config.module.rules.push({
          enforce: 'pre',
          test: /\.(js|vue)$/,
          loader: 'eslint-loader',
          exclude: /(node_modules)/
        })
      }
    }
This question is available on Nuxt.js community (#c2174)