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!

Fetching App-Wide Data

In this lesson, we learn how to fetch data that should be available across every page of a Vue.js application. The authenticated user should be available on every page since it's info is displayed in the navigation bar, therefore we can dispatch a call to the Firestore through a Vuex action in the created hook of the root App.vue component.