1 post
Everything you need to know about environment variables in Next.js on Vercel — adding via CLI vs dashboard, NEXT_PUBLIC_ prefix, build-time vs runtime, secrets vs preview vs production, and the trailing-newline gotcha.