Home

Issue: 518

router history with middleware

[issue link]

hey,

after my auth middleware redirect me to the login page, i want , after i log in , to go to the protected page instead of the index …

i tried the beforeEach and afterEach hooks , the from parameter always point to the index page (where the link to the protected page exist)

even in the routes change events , there is no trace of the protected page
image

any propositions?

This question is available on Nuxt.js community (#c447)