Next.js Discord

Discord Forum

Importing a `.env` file...

Unanswered
Asian black bear posted this in #help-forum
Open in Discord
Avatar
Asian black bearOP
Is there a less tedious way to import a .env file into Vercel's environment variable section before deployment. On the Vercel's declare an Environment Variable page, they showed a way to import a .env file, and it has a way to import the file from the image (please see attached), but on my Vercel deployment section, its different (pls see attached image). I was wondering if that feature is no longer enabled?
Image
Image

1 Reply

Avatar
Yi Lon Ma
you can copy content of env file and just paste it. The vercel will already pick it up