Home

Issue: 2741

NODE_ENV either set to development or production, no way to add staging environment

[issue link]

Hello,

I am trying to have three separate environments using nuxt, but NODE_ENV is always development unless I use nuxt start which switches it to production.

How would I go about creating a staging environment? I tried NODE_ENV=staging nuxt in my package.json but it has been unsuccessful so far.

Thanks.

This question is available on Nuxt.js community (#c2380)