Vercel Guide
VercelFrontend Deployment Platform
Deploy Next.js, React, and static sites with zero configuration. Learn deployment, previews, and edge functions.
Contents
Vercel Basics
Vercel is a platform for frontend frameworks. Deploy Next.js, React, Vue, and static sites with automatic optimizations.
bash
# Install Vercel CLI
npm i -g vercel
# Login
vercel login
# Deploy
vercel
# Deploy to production
vercel --prodjson
// vercel.json
{
"buildCommand": "npm run build",
"outputDirectory": "dist",
"framework": "nextjs",
"regions": ["iad1"],
"env": {
"DATABASE_URL": "@database-url"
}
}