Delete cached data, error status and pending promises of
This method is useful if you want to invalidate the data fetching for another page.
clearNuxtData (keys?: string | string | ((key: string) => boolean)): void
keys: On or an array of keys that are used in
useAsyncDatato delete their cached data. If no keys are provided, every data will be invalidated.
Edit this page on GitHub Updated at Mon, Oct 3, 2022