mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
docs: adjust env
property to match runtimeConfig
(#21265)
This commit is contained in:
parent
c9adf700a4
commit
bec01c378a
@ -77,7 +77,7 @@ It is possible to update runtime config values using a matching environment vari
|
|||||||
We can set the environment variables inside the `.env` file to make them accessible during **development** and **build/generate**.
|
We can set the environment variables inside the `.env` file to make them accessible during **development** and **build/generate**.
|
||||||
|
|
||||||
``` [.env]
|
``` [.env]
|
||||||
NUXT_PUBLIC_API_BASE_URL = "https://api.localhost:5555"
|
NUXT_PUBLIC_API_BASE = "https://api.localhost:5555"
|
||||||
NUXT_API_SECRET = "123"
|
NUXT_API_SECRET = "123"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user