Skip to content

Commit

Permalink
docs: remove mention of plugins from data fetching (nuxt#1925)
Browse files Browse the repository at this point in the history
  • Loading branch information
davestewart authored Nov 15, 2021
1 parent b69ebbb commit 33107d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/3.docs/1.usage/1.data-fetching.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit 33107d8

Please sign in to comment.