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 Build with process.env.DEV = true ?

    Help
    2
    6
    233
    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.
    • L
      leon last edited by leon

      I searched in docs, but didin’t find.

      Can i set process.env.DEV = true on quasar build ?
      or
      set process.env.PROD = false on quasar build ?

      Thanks!

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

        @leon Is this what you are looking for? https://quasar.dev/quasar-cli/handling-process-env#Values-supplied-by-Quasar-CLI

        1 Reply Last reply Reply Quote 0
        • L
          leon last edited by leon

          No @Hawkeye64 , i have read it. Tks

          I need a stagging build.

          1 Reply Last reply Reply Quote 0
          • L
            leon last edited by

            I’m using https://github.com/quasarframework/app-extension-dotenv/tree/dev/app-extension.
            and i need an build android with staging config, but every build point to .env (production)

            1 Reply Last reply Reply Quote 0
            • L
              leon last edited by

              Solution here : https://forum.quasar-framework.org/topic/6622/how-to-support-multiple-environments/4
              tks!

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

                @leon Instead of the dotenv app extension, try the qenv one: https://github.com/quasarframework/app-extension-qenv/tree/dev/app-extension

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