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

    How to handle projects which have common sections

    CLI
    4
    6
    237
    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.
    • M
      mohamadJ last edited by

      I have a project created with quasar-cli. Now, I want to make some projects Which are almost similar to this project ,however, it also faces with some differences in pages,routes,stores and etc. These projects will definitely become updated in common and separate sections. The question is that what will be the best solution for handle such projects in case of saving time and coding?

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

        @mohamadJ You can copy your folder’s content into your new project, fix the correct paths,references etc. a decent free ide like vscode is enough to help you keep track of those. easiest if the new project is using qcli, if not then i can only see that would pose an issue is in the quasar app extension side (it only works at qcli atm), probably some tweak for the configs as well(check how to set it https://quasar.dev/start/umd or if you use quasar as vue plugin at https://quasar.dev/start/vue-cli-plugin).

        1 Reply Last reply Reply Quote 1
        • D
          dnix last edited by

          I haven’t done this yet, but you should be able to use a starter site plus a stable set of components that you don’t edit between projects, but only extend or use. See https://vuejsdevelopers.com/2017/06/11/vue-js-extending-components/

          1 Reply Last reply Reply Quote 1
          • M
            mohamadJ last edited by

            @metalsadman and @dnix thank you for reply. I use a quasar ext for common sections such as components, boots, stores and etc. Each new project have own pages and other uncommon sections.All of them use this extension.

            metalsadman 1 Reply Last reply Reply Quote 2
            • metalsadman
              metalsadman @mohamadJ last edited by

              @mohamadJ nice, that’s a neat solution.

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

                Quasar App Extensions is the way to go. It’s one of its maaany purposes.

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