You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using getCurrentUser in a middleware and clearing the cache via nuxi cleanup, page navigation always reloads the page instead of staying client-side when running nuxt dev. Very weird. Actually it only happens when deleting the node_modules/.cache/vite dir.
When rerunning nuxt dev it's working as expected.
Additional observation: Is only the case for a global middleware. When setting one via definePageMeta it's working as expected.