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

Commit

Permalink
docs: fix typos (#8976)
Browse files Browse the repository at this point in the history
  • Loading branch information
silvesterwali authored Nov 14, 2022
1 parent 4915a39 commit 1f645e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/content/3.api/1.composables/use-fetch.md
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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

0 comments on commit 1f645e2

Please sign in to comment.