Delay in CSS loading Vuetify

I'm building a webapp using Nuxt.js + Vuetify, after deploy this on Google App Engine I noticed a delay with CSS in some elements, like this GIF

How can I avoid this delay?

Upvotes: 0

Views: 1216

Answers (2)

Steven Spungin
Steven Spungin

Reputation: 29099

You can use the v-cloak directive to hide your app (or other) element until the child image is loaded.

https://medium.com/vuejs-tips/v-cloak-45a05da28dc4
https://v2.vuejs.org/v2/api/#v-cloak

Upvotes: 1

emirowski
emirowski

Reputation: 285

Hi Matheus and welcome to SO.

Does that data comes from an API ? If so, it's probably non-asynchronous so it's being executed after everything else finishes. Can you show more code?

Upvotes: 0

Related Questions