devbox-preview
Installation
SKILL.md
Devbox Preview
This starter is used in a workshop where some users run the app inside Vercel Devbox instead of on their laptop. Preserve this setup so preview works without users debugging Devbox internals.
Required app configuration
The frontend must allow Vercel Sandbox preview origins during Next.js development. Keep this in frontend/next.config.js:
allowedDevOrigins: ["*.vercel.run"]
Without this, Next.js can serve the page but block dev-only resources such as HMR from https://sb-...vercel.run, causing confusing preview failures.