Vercel is made by the creators of Next.js and has first-class support for Next.js. When you deploy your Next.js app to Vercel, the following happens by default:
Vercel has many more features, such as:
You can learn more about the platform in the Vercel documentation.
The steps below are optional — you can try it or just read it through.
After deploying to Vercel, try doing the following if you can:
You should see a comment by the vercel
bot on the pull request page.
Try clicking on the Preview URL inside this comment. You should see the changes you just made.
When you have a pull request open, Vercel automatically creates a preview deployment for that branch on every push. The preview URL will always point to the latest preview deployment.
You can share this preview URL with your collaborators and get immediate feedback.
If your preview deployment looks good, merge it to main
. When you do this, Vercel automatically creates a production deployment.
We’ve just gone through the workflow we call DPS: Develop, Preview, and Ship.
main
to ship to production.We strongly recommend using this workflow when developing Next.js apps — it will help you iterate on your app faster.