Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

The Vue.js Master Class

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

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!