Skip to main content

Command Palette

Search for a command to run...

.env files in Quasar (VueJS)

Published
1 min read

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