mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
docs: change app-config url to avoid naming conflicts with app.vue (#9377)
This commit is contained in:
parent
236eb90414
commit
65f3b3a053
@ -93,7 +93,7 @@ const appConfig = useAppConfig()
|
||||
</script>
|
||||
```
|
||||
|
||||
:ReadMore{link="/docs/guide/directory-structure/app.config"}
|
||||
:ReadMore{link="/docs/guide/directory-structure/app-config"}
|
||||
|
||||
## `runtimeConfig` vs `app.config`
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# `useAppConfig`
|
||||
|
||||
Access the reactive [app config](/docs/guide/directory-structure/app.config) defined in the project.
|
||||
Access the reactive [app config](/docs/guide/directory-structure/app-config) defined in the project.
|
||||
|
||||
**Usage:**
|
||||
|
||||
@ -10,4 +10,4 @@ const appConfig = useAppConfig()
|
||||
console.log(appConfig)
|
||||
```
|
||||
|
||||
::ReadMore{link="/docs/guide/directory-structure/app.config"}
|
||||
::ReadMore{link="/docs/guide/directory-structure/app-config"}
|
||||
|
@ -1,6 +1,6 @@
|
||||
# `updateAppConfig`
|
||||
|
||||
Updates [app config](/docs/guide/directory-structure/app.config) using deep assignment. Existing (nested) properties will be preserved.
|
||||
Updates [app config](/docs/guide/directory-structure/app-config) using deep assignment. Existing (nested) properties will be preserved.
|
||||
|
||||
**Usage:**
|
||||
|
||||
@ -14,4 +14,4 @@ updateAppConfig(newAppConfig)
|
||||
console.log(appConfig) // { foo: 'baz' }
|
||||
```
|
||||
|
||||
::ReadMore{link="/docs/guide/directory-structure/app.config"}
|
||||
::ReadMore{link="/docs/guide/directory-structure/app-config"}
|
||||
|
Loading…
Reference in New Issue
Block a user