H
May 4, 2023How to share envs in a monorepo with vite and nextjs apps
To share environment variables between two projects in a monorepo, with specific prefixes for each project, you can create a .env.shared file with common environment variables and then use scripts to create specific .env files for each project.
May 4, 20232 min read8 reactions8 comments