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

    [Solved] Small js files in dist directory. Please help me combine to one file by cli.

    CLI
    2
    3
    511
    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.
    • V
      VV last edited by Shone

      I make quasar build command and in result files see 44 small js files.
      This enlarge time of site response.

      Please help me define cli setup for working with only 1 js file.

      And same case for css small files.

      1 Reply Last reply Reply Quote 0
      • Hawkeye64
        Hawkeye64 last edited by

        Typically, those small js files are in reference to a vue file. The vue files are then loaded “on-demand” when the user accesses the page and the page is loaded via the router by doing component: () => import('layouts/default'),. This means, only the pages that the user navigates to will be loaded, making your site more responsive (instead of loading in all pages at once).

        1 Reply Last reply Reply Quote 1
        • V
          VV last edited by

          OK. Thank you!

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