allenA
Convex Community3y ago
2 replies
allen

Vercel deployment instructions

FYI I couldn't get the Vercel deployment instructions in the docs to work. I ended up going with a build command of npx convex deploy && yarn build.

The docs (https://docs.convex.dev/production/hosting/vercel) state to use npx convex deploy --cmd 'npm run build', however the screenshot shows npx convex deploy --cmd='npm run build' (note the =), but neither worked for me, erring with: error: unknown option '--cmd=npm run build'
Was this page helpful?