mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
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.
|