You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With treeshaking enabled and set to true, the unused CSS should be removed automatically. But instead, currently, even with hardly using one or two components, 200-300kb worth of CSS is generated. Even with no Vuetify components being used, there's this much CSS generated.
The vast majority of this is utility classes which gzip extremely well, the entire framework's css with all components is only around 50kB gzipped. If that's is still too much it is possible to disable these styles, see #12512.
I tried this in my Nuxt + Tailwind website, and it's amazing now I can use the full power of awesome Vuetify components without so much bloated css like my, py, etc. and for CSS, I anyway have JIT enabled Tailwind. Thanks a lot for this tip. 😊
Problem to solve
With treeshaking enabled and set to true, the unused CSS should be removed automatically. But instead, currently, even with hardly using one or two components, 200-300kb worth of CSS is generated. Even with no Vuetify components being used, there's this much CSS generated.
Proposed solution
Remove the unused CSS.
Additional references:
The text was updated successfully, but these errors were encountered: