From 84c7848e890846c5944146cdb788dafffc955996 Mon Sep 17 00:00:00 2001 From: Silvester Wali Date: Mon, 14 Nov 2022 20:09:49 +0800 Subject: [PATCH 1/3] docs: fix typo --- docs/content/3.api/1.composables/use-fetch.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/3.api/1.composables/use-fetch.md b/docs/content/3.api/1.composables/use-fetch.md index 7bb35c8a4d7..4cc70fc607b 100644 --- a/docs/content/3.api/1.composables/use-fetch.md +++ b/docs/content/3.api/1.composables/use-fetch.md @@ -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. From f3f90f65216161bed96e3334001de16dfeb66f4d Mon Sep 17 00:00:00 2001 From: Silvester Wali Date: Mon, 14 Nov 2022 20:10:12 +0800 Subject: [PATCH 2/3] docs: fix typo --- docs/content/3.api/1.composables/use-router.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/3.api/1.composables/use-router.md b/docs/content/3.api/1.composables/use-router.md index 36696c54995..9eab3028f6a 100644 --- a/docs/content/3.api/1.composables/use-router.md +++ b/docs/content/3.api/1.composables/use-router.md @@ -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. From f6ca2875075a71eb8667ba3bbd766de8a6d4300e Mon Sep 17 00:00:00 2001 From: Silvester Wali Date: Mon, 14 Nov 2022 20:10:46 +0800 Subject: [PATCH 3/3] docs: fix typo --- docs/content/3.api/1.composables/use-runtime-config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/3.api/1.composables/use-runtime-config.md b/docs/content/3.api/1.composables/use-runtime-config.md index 6f8aeb08d10..3007bcfdf77 100644 --- a/docs/content/3.api/1.composables/use-runtime-config.md +++ b/docs/content/3.api/1.composables/use-runtime-config.md @@ -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: