Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

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

Merged
merged 2 commits into from
Nov 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/content/1.docs/1.getting-started/3.configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
4 changes: 2 additions & 2 deletions docs/content/1.docs/3.api/1.composables/use-app-config.md
Original file line number Diff line number Diff line change
@@ -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:**

Expand All @@ -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"}
4 changes: 2 additions & 2 deletions docs/content/1.docs/3.api/3.utils/update-app-config.md
Original file line number Diff line number Diff line change
@@ -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:**

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