Managing environment variables in quasar quite simple.
My use case only have 2 environments: local & production.
So I have only 2 files:

  • .env.dev : for local

  • .env.prod: for production

No need naming conventions when work with quasar:

And access through process.env.name_of_var as normal

This post is imported from: https://thebrownbox.hashnode.dev/env-files-in-quasar-vuejs