mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 06:05:11 +00:00
9a0fc57724
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com> Co-authored-by: pooya parsa <pyapar@gmail.com>
13 lines
301 B
Markdown
13 lines
301 B
Markdown
# `refreshNuxtData`
|
|
|
|
::ReadMore{link="/guide/features/data-fetching"}
|
|
::
|
|
|
|
```ts
|
|
refreshNuxtData(keys?: string | string[])
|
|
```
|
|
|
|
Available options:
|
|
|
|
* `keys`: Provides an array of keys that used in `useAsyncData` to refetch. When it's not specified, all `useAsyncData` and `useFetch` will be refetched.
|