Home > Enterprise >  Do I use .env or .env.local for local development?
Do I use .env or .env.local for local development?

Time:10-14

If I develop locally on my computer a VueJS App. Is .env the file in which I store the accesses for locally or .env.local?

CodePudding user response:

Simply use .env, don't overcomplicate things.
There are also .env.production, .env.development etc...but those are not recommended either.

As explained here: https://github.com/motdotla/dotenv#should-i-have-multiple-env-files

  • Related