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

    Quasar workflow...

    Help
    4
    6
    1646
    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.
    • B
      BrianMoreno last edited by

      Hi, so i’ve been using this framework for a bit now and I’m liking it so far. I’m using it with cordova to make apps. However, when I want to create the app for the first time I have to follow these steps:

      Run quasar build
      Run quasar wrap cordova
      Run cd cordova
      Run cordova platform add android
      Run cordova run android

      Whenever I update the app I delete the cordova folder and restart the whole process which takes a bit of time, I was wondering if their is a way to automate these tasks?

      Another slight disadvantage I’m having is when trying to update my app… I delete the cordova folder which deletes 2 important files, my config.xml file which is where i specify preferences, name of the app, description, etc and also deletes my package.json which is where I have all my cordova plugins specified. Any way I can remedy this?

      1 Reply Last reply Reply Quote 0
      • C
        coxy121 last edited by

        You do not need to delete the cordova folder each time you make updates, you only need to set it up once, and make the required updates to your config.xml file etc then you are good.

        You can then just run quasar build once you are ready to test on a device other than a browser, then from within the cordova directory cordova run android

        1 Reply Last reply Reply Quote 0
        • M
          MagoSchmidt last edited by

          Yes! My workflow is (initial wrap runs only once)

          quasar build
          cd cordova
          cordova run android
          1 Reply Last reply Reply Quote 0
          • B
            BrianMoreno last edited by

            Ahh ok, so running quasar build also updates my cordova project and doesn’t modify the contents of the config.xml and package.json file?

            1 Reply Last reply Reply Quote 0
            • T
              treethought last edited by

              I’ve been using this makefile once I have wrapped my app. using “make run” rebuilds and pushes to your android device without changing config.xml.
              https://gist.github.com/treethought/a8348210d0cee7a21320f34b75e763d7

              1 Reply Last reply Reply Quote 0
              • B
                BrianMoreno last edited by

                Ok so it turns out quasar build does update my cordova app as well without modifying my 2 files. Thanks to everyone that helped out. And thanks for the Makefile script, I’m suerly gonna check it out and use it! 🙂

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