From 749a95040d14261a6c4777f3204c8ea3feddf28c Mon Sep 17 00:00:00 2001 From: schoonc Date: Thu, 14 Jun 2018 00:16:21 +0300 Subject: [PATCH] Update nuxt.config.js --- template/nuxt.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/nuxt.config.js b/template/nuxt.config.js index ffeed22..6365649 100644 --- a/template/nuxt.config.js +++ b/template/nuxt.config.js @@ -26,7 +26,7 @@ module.exports = { ** Run ESLINT on save */ extend (config, ctx) { - if (ctx.dev && ctx.isClient) { + if (ctx.isDev && ctx.isClient) { config.module.rules.push({ enforce: 'pre', test: /\.(js|vue)$/,