Static GitHub Issues

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

prev: Accordian template on veutify not showing up because of v-for loop on nuxt js
next: Nuxt.js + Uikit3 --> Deploying to Heroku

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.

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2380">#c2380</a>)</em></sub></div>