NuxtN
Nuxt2y ago
David

UseRoute within middleware (nuxt content)

Hello everyone, I have this warning when I return to the home (/)
[nuxt] Calling `useRoute` within middleware may lead to misleading results. Instead, use the (to, from) arguments passed to the middleware to access the new and old routes.
Was this page helpful?