Vercel
Description¶
Porjects deployed to Vercel
Deployments¶
https://www.browndomain.com (Next.js full-stack)
https://priv.browndomain.com (Next.js full-stack App with Authn)
Install Vercel CLI¶
npm i -g vercel
Update¶
npm i -g vercel@latest
Test¶
vercel -v
Build¶
vercel build # build url: .vercel/output
Preview Output¶
Deploy¶
vercel deploy --prebuilt
or
vercel [path-to-project]
Vercel detects the project type (Hugo, Angular, etc.), and enables the approp setting.
Manual Config¶
Place vercel.json
config file in project root.
vercel.json
:
{
"buildCommand": "pnpm turbo build",
"ignoreCommand": "pnpm dlx turbo-ignore"
}