How to Access pinia store inside a nuxt route middleware ?
Hello !
I'd like to redirect user based on current pinia state.
Currently in the
defineNuxtRouteMiddleware
I only have access to to
and from
routes.
How can I achieve what I want ?1 Reply
You can use composables within a route middleware