Giter VIP home page Giter VIP logo

Comments (3)

conseromarketing avatar conseromarketing commented on May 25, 2024 1

Makes sense and thank you for the help @kevinmarrec 😄

from vuetify-module.

kevinmarrec avatar kevinmarrec commented on May 25, 2024

@propsoft First of all, Vuetify 2.0 has non-negligable bigger full bundle than Vuetify 1.5 cause it contains new stuff (mostly new components)

About the fresh install size, you're right but if you look into the concerned file, you'll notice there's lot of css. Lof of these css won't be used, so you would need to use Nuxt extractCSS so it extracts CSS, and try to use https://github.com/Developmint/nuxt-purgecss to purge unused CSS.

from vuetify-module.

kevinmarrec avatar kevinmarrec commented on May 25, 2024

I just tried https://nuxtjs.org/api/configuration-build/#extractcss on a project, it seems to fix the JS high bundle size. But as I said, it was lot of CSS (238kb) :

Screenshot from 2019-07-27 01-12-15

Worth noting :
238kb of CSS in production gzipped is 26kb in my case : https://marrec.io
If you run a Google Lighthouse audit on my website, you'll be able to see I can save 25 of 26 kb by removing unused css, which should be achievable with purge-css module.

EDIT : As lot of almost every class are applied at runtime : PurgeCSS may not be a solution : vuetifyjs/vuetify#3507

I'll add useful info about this in the README.md

from vuetify-module.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.