home / skills / andrelandgraf / fullstackrecipes / nextjs-on-vercel
This skill helps you bootstrap a Next.js app on Bun, configured for development and deployment to Vercel with automatic previews.
npx playbooks add skill andrelandgraf/fullstackrecipes --skill nextjs-on-vercelReview the files below or copy the command above to add this skill to your agents.
---
name: nextjs-on-vercel
description: Create a Next.js app running on Bun, configure the development environment, and deploy to Vercel with automatic deployments on push.
---
# Next.js on Vercel
To set up Next.js on Vercel, refer to the fullstackrecipes MCP server resource:
**Resource URI:** `recipe://fullstackrecipes.com/nextjs-on-vercel`
If the MCP server is not configured, fetch the recipe directly:
```bash
curl -H "Accept: text/plain" https://fullstackrecipes.com/api/recipes/nextjs-on-vercel
```
This skill guides you to create a Next.js app running on Bun, configure a reliable development environment, and deploy the project to Vercel with automated deployments on git push. It bundles production-ready patterns and step-by-step recipes tailored for full-stack AI web apps. The content emphasizes practical setup, developer ergonomics, and deployment automation.
The skill walks through initializing a Next.js project configured to run on the Bun runtime and adjusting scripts, environment variables, and tooling to match Bun's behavior. It shows how to configure local development (hot reload, linting, TypeScript) and prepare Vercel settings for Bun support. Finally, it outlines Vercel deployment configuration and a CI-friendly flow so pushes to your repository trigger automatic builds and deployments.
Does Vercel support Bun as a runtime?
Yes—configure your project and Vercel settings to use Bun for builds and runtime, and ensure your project scripts reference Bun where required.
How do automatic deployments work?
Link your repository to your Vercel project; Vercel will trigger builds and deployments on pushes to configured branches, using the project settings and environment variables you set.