-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
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
environment configuration alias docs ($production
, $development
and $test
)
#25812
Comments
$production
, $development
and $test
)
There is some documentation over at https://github.com/unjs/c12#environment-specific-configuration. At least I think that this is the underlying feature used in the |
I agree that this should be covered in the docs though and not only in c12 or in video content 👍🏻 |
It is also documented in https://nuxt.com/docs/getting-started/configuration#environment-overrides, which should suffice. Feel free to point out what is missing if you disagree |
@manniL is it possible to change the envname withing Nuxt? https://github.com/unjs/c12?tab=readme-ov-file#envname |
@maartenvanhunsel follow along nuxt/cli#357 |
I do agree that the environment overrides section does greatly document the feature. Following my personal scenario: from a perspective of someone that explores the nuxt docs for the first time there is still not clear indication what Here is my idea how to battle that: #27315 |
In Getting Started with Unit Tests using
$test
is the suggested way of handling api requests.@danielroe provided an example in a PR discussion but besides that there is no documentation about that feature
The text was updated successfully, but these errors were encountered: