It is modular?



  • Hi there!

    I’m new to Quasar. I’m wondering if there is a way to only load components code and css that I need. Actually it seems that webpack is putting all Quasar components and styles to vendor.js (541kB) and app.*.css (246kB) bundles.

    Perhaps this amount of code and styles is too much for older devices?

    Thanks in advance


  • Admin

    Hi,

    By default, if you create a page component per route you’ll be using System.import()(check src/router.js) which automatically creates a lazy loading chunk. This will make each page be loaded on demand, along its CSS.


Log in to reply
 

Looks like your connection to Quasar Framework was lost, please wait while we try to reconnect.