Skip to content

Vercel

FeatureVercelGitHub Pages
Edge Functions
Preview Deploys
Analytics
Custom Domains
Free Tier
# Push to GitHub
git push origin main
# Connect repo in Vercel dashboard
# Auto-deploys on every push
Terminal window
# Install
npm i -g vercel
# Deploy
vercel
# Production deploy
vercel --prod
{
"rewrites": [
{ "source": "/(.*)", "destination": "/index.html" }
],
"headers": [
{
"source": "/(.*)",
"headers": [
{ "key": "X-Frame-Options", "value": "SAMEORIGIN" },
{ "key": "X-Content-Type-Options", "value": "nosniff" }
]
}
]
}
  • ✅ Zero config deployment
  • ✅ Automatic HTTPS
  • ✅ Global CDN (Edge Network)
  • ✅ Preview deployments per PR
  • ✅ Serverless functions support
  • ✅ Analytics dashboard
AspectVercelGitHub Pages
SetupConnect repoEnable in settings
BuildAuto-detectGitHub Actions
PreviewPer PR
Functions✅ Serverless
Best ForModern appsSimple static