1
0
mirror of https://github.com/nuxt/nuxt.git synced 2025-03-03 17:24:29 +00:00
Nuxt/docs/content/3.api/3.utils/refresh-nuxt-data.md

13 lines
305 B
Markdown
Raw Normal View History

# `refreshNuxtData`
::ReadMore{link="/guide/features/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.