Vue provides a configuration mechanism that allows you to specify environment variables based on environment e.g development, production and test.
PROBLEM:
If the env variable is sensitive info, then it it exposed thereby posing a security threat. This problem only happens with production. In dev, with the use of a .env file the problem is solved, but in production, vue seems to not be able to read the environment variables set in heroku.
Requirement:
Find a way to make Vue read the environment variables from heroku.
You'd be needing access to heroku, reach out to Florence to gain access.
Vue provides a configuration mechanism that allows you to specify environment variables based on environment e.g development, production and test.
PROBLEM:
Requirement: Find a way to make Vue read the environment variables from heroku.
You'd be needing access to heroku, reach out to Florence to gain access.
These resources may give some insight https://www.reddit.com/r/vuejs/comments/csqnab/trouble_with_heroku_environment_variables/ https://stackoverflow.com/questions/63848709/access-to-environment-variables-in-vue-app-in-heroku