Vuetify-module: Vuetify size is too large

Created on 17 Oct 2019  路  2Comments  路  Source: nuxt-community/vuetify-module

Vendor size getting too large after using @nuxt/vuetify 1.9.0 even in treeshaking mode.
How to reduce vuetify size in production

Most helpful comment

build.extractCSS: true, resolves the issue for me.

Thanks a lot for the help.

All 2 comments

@Shivk355 Probably cause you have CSS bundle in JS file, you can try build.extractCSS: true in Nuxt options, it will separate Vuetify JS & CSS. The CSS is by default kind of huge, but really smaller when using gzip in production.

Otherwise, it's not something that can be discussed around this module, this module only registers Vuetify to make developer experience better, it doesn't add extra things that will make bundle larger, so you may ask for help on Vuetify Discord OR Vuetify repository.

build.extractCSS: true, resolves the issue for me.

Thanks a lot for the help.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ghalnas picture Ghalnas  路  4Comments

morficus picture morficus  路  4Comments

filipwronski picture filipwronski  路  7Comments

avanishp2 picture avanishp2  路  3Comments

simonmaass picture simonmaass  路  4Comments