in nuxt.config.js [119:140]
extend(config, ctx) {
config.resolve.alias['vue'] = 'vue/dist/vue.common'
config.module.rules.push({
test: /\.md$/,
use: ['raw-loader']
})
//github.com/nuxt/nuxt.js/issues/4736#issuecomment-453429870
https: config.module.rules.push({
test: /\.ya?ml$/,
use: 'js-yaml-loader'
})
// if (ctx.isDev && ctx.isClient) {
// config.module.rules.push({
// enforce: 'pre',
// test: /\.(js|vue)$/,
// loader: 'eslint-loader',
// exclude: /(node_modules)/,
// options: { fix: true }
// })
// }
},