How do I get nuxtApp.hook('app:created', (the app setup / store initialisations) to run before the m
How do I get
nuxtApp.hook('app:created'
, (the app setup / store initialisations) to run before the middleware
?
Need some help here guys - very frustrating situation:
1 Reply
I've tried changing the naming / order ot the plugins / middleware but no dice.
Even tried using
addRouteMiddleware
in the plugin where I'm calling nuxtApp.hook('app:created'
, but the app setup still runs after the middleware
It even doesn't work if I add the middleware directly to the page
And I've even added code to control when it runs