We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--dotenv
nuxi dev
nuxi build
On Nuxt2 there was a --dotenv to specify a different .env file in production, staging or development environments.
On Nuxt3 only the .env at the root directory is used and there is no configuration to use another file.
Nuxt2 doc Nuxt3 doc
The text was updated successfully, but these errors were encountered:
dev
build
preview
Merged in nuxt/framework#7660.
Sorry, something went wrong.
Can --dontenv support also be added to nuxi generate?
Makes sense 👍
No branches or pull requests
Describe the feature
On Nuxt2 there was a --dotenv to specify a different .env file in production, staging or development environments.
On Nuxt3 only the .env at the root directory is used and there is no configuration to use another file.
Nuxt2 doc
Nuxt3 doc
Additional information
Final checks
The text was updated successfully, but these errors were encountered: