Quasar build deployment on Heroku and environment variables

  • 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 !!!



Log in to reply