Can nuxt 3 middleware be asynchronous?
I am trying the below trivial example with one await and
navigateTo
, resulting in error:
1 Reply
Real life example would be auth middleware checking for permissions only after protected route is visited; if permissions are insufficient, redirect user away.