Skip to content
KB entry

Deploying an App Router app on Vercel

Build settings, environment variables, ISR and edge configuration walkthrough.

Vercel5 min read
Next.jsReact

This entry walks through deploying a Next.js App Router app from a fresh GitHub repo.

1. Connect the repo

Push your project to GitHub, click New Project in your Vercel dashboard, and pick the repo. Vercel auto-detects Next.js and fills in the build settings.

2. Set environment variables

Add any variables your app reads at build or runtime. Mark them Production, Preview, and Development as appropriate.

3. ISR and edge configuration

App Router routes default to dynamic rendering. Add export const revalidate = 60 at the top of a route to enable ISR with a 60-second window.


Back to Vercel knowledge base