No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    It is modular?

    Help
    2
    2
    840
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      josemanuelp2 last edited by

      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

      1 Reply Last reply Reply Quote 0
      • rstoenescu
        rstoenescu Admin last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post