docs: change app-config url to avoid naming conflicts with app.vue (#9377)

This commit is contained in:
Clément Ollivier 2022-11-28 13:47:32 +01:00 committed by GitHub
parent 236eb90414
commit 65f3b3a053
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -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`

View File

@ -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"}

View File

@ -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"}