Redirect inside asyncData
I want to redirect to a named route inside asyncData, my nuxt project is
ssr: false
I have something like this in my Page component:
I have a router.js
file I use to extend some routes with extendRoutes
in my nuxt config.
My route is defined like this:
I get redirected to my home instead and I get this error in the browser console:
[vue-router] Route with name 'exchange-status' does not exist
I can enter the route directly without problems but I have no idea why redirect doesn't work1 Reply
nevermind, it was nuxtI18n renaming my routes.