.env files in Quasar (VueJS)

The Brown BoxThe Brown Box
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

0
Subscribe to my newsletter

Read articles from The Brown Box directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

The Brown Box
The Brown Box