From f1ce4e3c76336eef8cedf3861e8b5f09e0883662 Mon Sep 17 00:00:00 2001 From: Salim Absi Date: Sat, 7 May 2022 13:40:04 +0300 Subject: [PATCH 1/3] docs(api/use-route): fix example description --- docs/content/3.api/1.composables/use-route.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/3.api/1.composables/use-route.md b/docs/content/3.api/1.composables/use-route.md index d1e47d20f79..719a67c341f 100644 --- a/docs/content/3.api/1.composables/use-route.md +++ b/docs/content/3.api/1.composables/use-route.md @@ -6,7 +6,7 @@ Within the template of a Vue component, you can access the route using `$route`. ## Example -In the following example, we call an API via `useAsyncData` using a dynamic page parameter - `slug` - as part of the URL. +In the following example, we call an API via `useFetch` using a dynamic page parameter - `slug` - as part of the URL. ```html [~/pages/[slug].vue]