Create env vars
jordanos opened this issue · 1 comments
jordanos commented
- git ignore everything in env folder except
env.dev
jordanos commented
*.local
files are ignored.
- Vite already uses env files located in the env folder. To switch environments pass
--mode={env-type}
while building the app, this will run the app with the specified.env.{env-type}
file.