This lesson is for members. Join us?
Subscribe now to get instant access to this course, plus a full library of Vue.js courses tailored to the plan you choose.
Protecting Pages from Authenticated Users
In this lesson, we will create another navigation guard in our middleware to be able to protect routes from authenticated users. Certain pages should only be visible to authenticated users, while others should only be visible to guests. Let's get to it!
