Vue.js 3 Options API Masterclass
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!

Hiding Guest Pages from Logged In Users

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

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.