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 deployment on Heroku and environment variables

    Help
    3
    3
    463
    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
      francis last edited by

      Hello,
      I’m struggling on how to connect Heroku environment variables in my Quasar build.
      On another project using Nuxt it was OK but now with a Quasar SPA build it does not work

      I use the following in quasar.conf.js
      env: { APIUrl2: JSON.stringify(process.env.TEST_VALUE) }
      where TEST_VALUE has been configured in Heroku like that
      heroku config:set TEST_VALUE=tiguidoo

      Please help !!!

      Thanks

      Francis

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

        Hi did you ever figure this out? Having the same issue

        1 Reply Last reply Reply Quote 0
        • E
          eitan02581 last edited by

          hey lopu did you manage? same situation for me…

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