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 build diffence version by ENV

    CLI
    2
    2
    124
    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.
    • F
      fringesoft last edited by

      My project has three env(dev, prod, uat), how the build command support to do that. like ```
      build dev
      build uat
      build prod

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

        @fringesoft It depends on what you want to do but I think you could take a look at this part of the documentation.

        But to answer (partially) your question, I think you can simply run: quasar build --env=dev and then access the result in process.argv to do different things depending on the environment

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