Nuxt/docs/content/3.api/3.utils/refresh-nuxt-data.md
Clément Ollivier 944bba97ca
docs: update structure (#7047)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-13 14:54:31 +02:00

13 lines
306 B
Markdown

# `refreshNuxtData`
::ReadMore{link="/getting-started/data-fetching"}
::
```ts
refreshNuxtData(keys?: string | string[])
```
Available options:
* `keys`: Provides an array of keys that are used in `useAsyncData` to refetch. When it's not specified, all `useAsyncData` and `useFetch` will be refetched.