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

The Vue.js 3 Masterclass

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

Hiding Guest Pages from Logged In Users

🚧 PLEASE NOTE: This masterclass is built with the Options API

The Composition API Masterclass is coming soon!

In this lesson, we use what we've learned about Vue Router 4 route guards and route meta to protect pages for authenticated users and do the reverse. For user experience sake, we redirect certain pages to home for authenticated users.