Replies: 8 comments 9 replies
-
Since If that's not helpful, what exactly are you looking for when you mentioned "custom environments"? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Well, with
|
Beta Was this translation helpful? Give feedback.
-
I also have a bit of an issue with this. Do i understand things correctly that i can't really use the .env files if i want to set different URLs and stuff for staging and so on? Isn't that a pretty common requirement? And if development and test is supported why couldn't staging be?
What does this comment mean? Can i change the values in the .env file somehow to accomplish this? |
Beta Was this translation helpful? Give feedback.
-
Same question and concern here. We have development, integration, staging and production. What is the correct way to supply the props? I understand that the Next.js development/production concept is how the app is running and not necessarily where it is running. |
Beta Was this translation helpful? Give feedback.
-
Yes, I would also like a clearer answer on the nextjs best practice for how to specify staging-specific values. |
Beta Was this translation helpful? Give feedback.
-
Looks like this thread is dead. I'd love to know more about how Nextjs team would address deployment with staging-specific values because I am trying to clean up my codebase and implement the built-in support for env |
Beta Was this translation helpful? Give feedback.
-
it is quite frustrated when no best practices example to refer.. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
when i try:
but it gives me an error: "https://github.com/zeit/next.js/blob/master/errors/non-standard-node-env.md"
What's the correct way to set custom environments that differ from "development" and "production"?
Beta Was this translation helpful? Give feedback.
All reactions