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

    Template update: removing unused CSS

    Announcements
    3
    6
    2911
    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.
    • rstoenescu
      rstoenescu Admin last edited by rstoenescu

      Latest Quasar template removes unused CSS by default using Purify CSS (when building for production). You’ll notice a significant drop in generated CSS file size.

      1 Reply Last reply Reply Quote 7
      • L
        lbssousa last edited by

        How could I apply these changes in my current project? Does quasar-cli automatize this work for me?

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

          Hi. It’s not possible to automate this by CLI unfortunately. Best way would be to manually apply the latest changes to the Quasar Default Template: https://github.com/quasarframework/quasar-template-default/commit/4404ef609d3d1d1bd637a61e6097a66ad2777557

          1 Reply Last reply Reply Quote 0
          • R
            rof20004 last edited by

            Create a new project and overwrite the new src folder with your old src folder.

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

              @rof20004 unless he changed something in the build system 🙂

              R 1 Reply Last reply Reply Quote 1
              • R
                rof20004 @rstoenescu last edited by

                @rstoenescu Yes 😃

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