Skip to content
This repository has been archived by the owner on Feb 6, 2019. It is now read-only.

Fix eslint error #83

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions template/nuxt.config.js
Expand Up @@ -24,8 +24,8 @@ module.exports = {
/*
** Run ESLint on save
*/
extend (config, { isDev, isClient }) {
if (isDev && isClient) {
extend (config, { isDev }) {
if (isDev && process.isClient) {
config.module.rules.push({
enforce: 'pre',
test: /\.(js|vue)$/,
Expand Down