Skip to the content.

Next.js - Deployment

Next.js and Vercel

  1. Pages that use Static Generation and assets (JS, CSS, images, fonts, etc) will automatically be served from the Vercel Edge Network, which is blazingly fast.
  2. Pages that use Server-Side Rendering and API routes will automatically become isolated Serverless Functions. This allows page rendering and API requests to scale infinitely.

Vercel has many more features, such as:

Develop, Preview, Ship

Deploy to Vercel

The easiest way to deploy Next.js to production is to use the Vercel platform developed by the creators of Next.js.

  1. Create a Vercel Account

  2. Import your repository

  3. Install Vercel for GitHub. You can give it access to All Repositories.

Once you’ve installed Vercel, import your repo.