mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 01:53:55 +00:00
docs: remove space before colon (#25251)
This commit is contained in:
parent
cb3cf2b76f
commit
a53ef190b1
@ -121,7 +121,7 @@ const appConfig = useAppConfig()
|
|||||||
As stated above, `runtimeConfig` and `app.config` are both used to expose variables to the rest of your application. To determine whether you should use one or the other, here are some guidelines:
|
As stated above, `runtimeConfig` and `app.config` are both used to expose variables to the rest of your application. To determine whether you should use one or the other, here are some guidelines:
|
||||||
|
|
||||||
- `runtimeConfig`: Private or public tokens that need to be specified after build using environment variables.
|
- `runtimeConfig`: Private or public tokens that need to be specified after build using environment variables.
|
||||||
- `app.config` : Public tokens that are determined at build time, website configuration such as theme variant, title and any project config that are not sensitive.
|
- `app.config`: Public tokens that are determined at build time, website configuration such as theme variant, title and any project config that are not sensitive.
|
||||||
|
|
||||||
Feature | `runtimeConfig` | `app.config`
|
Feature | `runtimeConfig` | `app.config`
|
||||||
-------------------------------|------------------|-------------------
|
-------------------------------|------------------|-------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user