Ajay
CCConvex Community
•Created by Ajay on 5/24/2025 in #support-community
Deploying Convex in a Turborepo
I've been following along the guide to deploy Convex to Vercel. Owing to the fact that my repository is a turborepo, I'm finding the deployment instructions a bit confusing. I used Better T-Stack to create my repository. This means that the Convex directory is structured as such:
Now, the guide asks the user to do:
npx convex deploy --cmd 'npm run build'
which I'm not sure how to manage here. Do I build these two things separately? Ideally I'd like to resolve being able to run a single build instruction (ideally the typical one in a vercel deployment). I've got the entire repo here for anyone to play around with here: https://github.com/ajay-bhargava/todo
Any guidance is appreciated. I'll keep plugging away at this and report back my findings / progress if i make any.9 replies