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

    Build for production

    CLI
    2
    2
    833
    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.
    • S
      sergevdz last edited by

      Hi all,

      I’m looking for a way to create a ‘build’ (’/dist’ folder) but with a different route to the API’s I’m using.
      I use quasar in this way: ‘quasar dev’ for my local server, and ‘quasar build’ to upload to a testing server.
      But now I need to upload my project to production and I can’t find the way.

      I read the api route either locally or test from an external file but I don’t want to have to be changing the routes, upload ‘/dist’ to production, and change the routes again to continue with the development.

      Any ideas?
      Greetings.

      1 Reply Last reply Reply Quote 1
      • s.molinari
        s.molinari last edited by

        @sergevdz - https://quasar-framework.org/guide/app-quasar.conf.js.html#Example-setting-env-for-dev-build

        Scott

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