docs: remove mention of plugins from data fetching (#1925)

This commit is contained in:
Dave Stewart 2021-11-15 15:50:00 +00:00 committed by GitHub
parent b69ebbbfd7
commit 33107d8b98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ Nuxt provides `useFetch`, `useLazyFetch`, `useAsyncData` and `useLazyAsyncData`
## `useAsyncData`
Within your pages, components and plugins you can use `useAsyncData` to get access to data that resolves asynchronously.
Within your pages and components you can use `useAsyncData` to get access to data that resolves asynchronously.
### Usage
@ -57,7 +57,7 @@ This composable behaves identically to `useAsyncData` with the `lazy: true` opti
## `useFetch`
Within your pages, components and plugins you can use `useFetch` to get universally fetch from any URL.
Within your pages and components you can use `useFetch` to get universally fetch from any URL.
This composable provides a convenient wrapper around `useAsyncData` and `$fetch` and automatically generates a key based on url and fetch options and infers API response type.