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

docs: fix typos #8976

Merged
merged 3 commits into from Nov 14, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/content/3.api/1.composables/use-fetch.md
Expand Up @@ -54,7 +54,7 @@ All fetch options can be given a `computed` or `ref` value. These will be watche
::

* **Options (from `useAsyncData`)**:
* `key`: a unique key to ensure that data fetching can be properly de-duplicated across requests, if not provided, it will be generated based on the static code location where `useAyncData` is used.
* `key`: a unique key to ensure that data fetching can be properly de-duplicated across requests, if not provided, it will be generated based on the static code location where `useAsyncData` is used.
* `server`: Whether to fetch the data on the server (defaults to `true`).
* `default`: A factory function to set the default value of the data, before the async function resolves - particularly useful with the `lazy: true` option.
* `pick`: Only pick specified keys in this array from the `handler` function result.
Expand Down
2 changes: 1 addition & 1 deletion docs/content/3.api/1.composables/use-router.md
Expand Up @@ -45,7 +45,7 @@ router.replace({ hash: "#bio" });

## Navigation Guards

`useRouter` composable provides `afterEach`, `beforeEach` and `beforeResolve` helper methods that acts as nagivation guards.
`useRouter` composable provides `afterEach`, `beforeEach` and `beforeResolve` helper methods that acts as navigation guards.

However, Nuxt has a concept of **route middleware** that simplifies the implementation of navigation guards and provides a better developer experience.

Expand Down
2 changes: 1 addition & 1 deletion docs/content/3.api/1.composables/use-runtime-config.md
Expand Up @@ -43,7 +43,7 @@ Variables that need to be accessible on the server are added directly inside `ru
::ReadMore{link="/guide/going-further/runtime-config"}
::

## Acess Runtime Config
## Access Runtime Config

To access runtime config, we can use `useRuntimeConfig()` composable:

Expand Down