Vue.js 3 Options API Masterclass
Plans from $25/month

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.

Firestore Rules and Protecting Pages for Authenticated Users

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

The Composition API Masterclass is coming soon!

In this lesson we utilize the requiresAuth route meta to keep guests from visiting pages that they shouldn't. We also put some Firestore Rules into place so that users and guests can't alter data that should be off limits.

It's important to remember with Vue.js 3 single page applications (SPAs) that while route guards are handy, they all occur on the client side and you must ensure that you also take steps on the server side to secure your application's data.

Links