The Vue.js 2 Master Class
Plans from $25/month

This lesson is for members. Join us?

Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!

🚧 NOTICE: You are watching a Vue.js 2 lesson

Redirect Users After Logging In to the Page they Tried to Visit

Don't you hate it when you're required to navigate back to a page after they required you to log in? Many developers do not take the user experience into account when they create their authentication system. In this lesson, we are learning how to redirect the user to the page they tried to visit after they sign in with the Vue Router.