vercel-deploy
Installation
SKILL.md
Vercel Deploy
Deploy the project to Vercel and push all environment variables.
This skill is called by the
vibe-shiporchestrator.FRAMEWORK=nextjsorvite.
1. Add SPA rewrite rule (Vite only)
Skip this step entirely for Next.js.
If FRAMEWORK = vite — create vercel.json at the project root:
{
"rewrites": [{ "source": "/(.*)", "destination": "/index.html" }]
}
This prevents 404 errors when users navigate directly to a URL (e.g. /dashboard) in a single-page app.