handle custom .env with build & start command in 16.0.3 Page Router #86276
Unanswered
dhavalveera
asked this question in
Help
Replies: 1 comment 4 replies
-
|
I don't think there's a way to do |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
how to setup multiple
.envin Nextjs? but I will have custom name, and I want to adopt the relevant one...like for
qabuild I want to use.env.qa, foruatbuild I want to.env.uathow to achieve it?as in the title it's being said I'm Nextjs v16.0.3 Page Router, and I am unable to find a way to use
.env.qawhen I startnpm run dev:qaas I've trieddotenv(as said in Discord help-forum -> https://discord.com/channels/752553802359505017/1438836216136077354) but nothing seems working!..anyone please help me to fix it, as it's one of my Client's Project, and we need this 2 env's for Testing Envrionemnts.
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions