docs(schema): update prefix for runtime config env variables (#6999)

This commit is contained in:
Daniel Roe 2022-08-29 10:47:02 +01:00 committed by GitHub
parent 33d82b65ef
commit 2d071eb48c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -708,7 +708,7 @@ export default defineUntypedSchema({
* Anything under `public` and `app` will be exposed to the frontend as well.
*
* Values are automatically replaced by matching env variables at runtime, e.g. setting an environment
* variable `API_KEY=my-api-key PUBLIC_BASE_URL=/foo/` would overwrite the two values in the example below.
* variable `NUXT_API_KEY=my-api-key NUXT_PUBLIC_BASE_URL=/foo/` would overwrite the two values in the example below.
*
* @example
* ```js