How to create .env file after deleting it? [solved]

I deleted the .env file in one of my projects and I can’t figure out how to add it back

Hey, you just want to click on the ‘new file’ button at the top of the list in the sidebar. Type .env and then click ‘add this file’ or just hit enter. It will just show up on the right. Then click ‘add variable’ to put your .env variables in.


Thank you. My mistake was that typed letters before the .env; it is now working.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.