Configure Vercel across development, staging, and production environments. Use when setting up multi-environment deployments, configuring per-environment secrets, or implementing environment-specific Vercel configurations. Trigger with phrases like "vercel environments", "vercel staging", "vercel dev prod", "vercel environment setup", "vercel config by env".
Set up the base and per-environment configuration files.
Add logic to detect and load environment-specific config.
Store API keys securely using your secret management solution.
Implement safeguards for production-only operations.
See {baseDir}/references/errors.md for comprehensive error handling.
See {baseDir}/references/examples.md for detailed examples.