API: The dev Property
This property is overwritten by nuxt commands:
Example:
server.js
Note: You'll need to run npm install —save-dev cross-env
for the above example to work. If you're not developing on Windows you can leave cross-env
out of your script and set NODE_ENV
directly.