Delete cached state of
This method is useful if you want to invalidate the state of
clearNuxtState (keys?: string | string | ((key: string) => boolean)): void
keys: One or an array of keys that are used in
useStateto delete their cached state. If no keys are provided, all state will be invalidated.