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

The Vue.js 3 Masterclass

Displaying a Loading Indicator while Components Fetch Async Data thumbnail image

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

Displaying a Loading Indicator while Components Fetch Async Data

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

The Composition API Masterclass is coming soon!

In this lesson, we use a scalable solution for displaying a loading indicator across all the application's pages. Adding a conditional to Vue Router's router-view component makes for an elegant solution.