vuetifyjs / nuxt

Nuxt.js + Vuetify.js starter project template.
MIT License
306 stars 109 forks source link

[Bug Report] Nuxt + Vuetify production mode loading css late #90

Closed amritk closed 5 years ago

amritk commented 5 years ago

Versions and Environment

Vuetify: 1.5.14 Vue: 2.6.10 Browsers: Chrome 75.0.3770.80 OS: Linux x86_64

Steps to reproduce

Grab the repo, build and run in production mode. Make sure to have the network tab open to disable cache. You can see as you refresh that some vuetify styles load late and the elements change.

Expected Behavior

There should be no jump in style as they should be loaded already from nuxt SSR.

Actual Behavior

The styles seem to be loaded via javascript so you can see the elements jump.

Reproduction Link

https://github.com/amritk/vuetify-nuxt-repro

Other comments

I have tested this on the latest beta as well and the issue still exists. Not sure if I'm missing some config somewhere.

amritk commented 5 years ago

Here is a gif of what happens on my app I'm trying to take to production, as you can see its unuseable. kez2A

amritk commented 5 years ago

Closing this as I believe it might be a vuetify loader issue