Hosting
Learn how to deploy your template to Vercel for production.
This guide will walk you through deploying your template to Vercel, the platform built by the creators of Next.js.
Prerequisites
Before deploying, ensure you have:
- A GitHub account
- A Vercel account
- Your project pushed to a GitHub repository
- All environment variables set up locally
Deployment Steps
Deploy via Vercel Dashboard
- Go to vercel.com/new
- Import your GitHub repository
- Configure your project:
- Framework Preset: Next.js
- Root Directory:
./ - Build Command:
next build - Output Directory:
.next
- Add your environment variables
- Click “Deploy”
On This Page