I'm trying to stop the loading overlay once all assets (including images) done loaded. So I initialised the isLoading to true and attached load event listener in the mounted life hook.
When the load event listener is attached, the spinner only shows as a static image, frozen. If removed, it will spin forever.
I'm trying to stop the loading overlay once all assets (including images) done loaded. So I initialised the
isLoading
to true and attached load event listener in the mounted life hook.When the load event listener is attached, the spinner only shows as a static image, frozen. If removed, it will spin forever.
There is no error message on the console.
App.vue
Template
Script