Redirect to requested page after login using vue-router
This can be achieved by adding the redirect path in the route as a query parameter. Then when you login, you have to check if the redirect parameter is set: if IS set redirect to the path found in param if is NOT set you can fallback on root. Put an action to your link … Read more