Skip to content
Discussion options

You must be logged in to vote

On the contrary. It must be forced because Vue, Vue Router, Pinia, Vuex, Vue I18n etc depend on specific values for NODE_ENV (it's just how they roll).

However, you can supply and use some other naming scheme in your code. Why should should you look specifically for NODE_ENV and not "SETUP_ENV" etc?

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rstoenescu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants