chore(example): use !==

This commit is contained in:
Clark Du 2019-06-25 10:45:38 +01:00
parent 1b634779f8
commit 1a435ad32b

View File

@ -8,7 +8,7 @@ const port = process.env.PORT || 3000
// Import and set Nuxt.js options
const config = require('./nuxt.config.js')
config.dev = !(process.env.NODE_ENV === 'production')
config.dev = process.env.NODE_ENV !== 'production'
const nuxt = new Nuxt(config)