burnstony#1975
burnstony#19755mo ago

Mono repo with Convex auth

I am using convex auth for my expo app Currently I am still using Clerk in my Next.js app for the web app I don't think I need any functionality the Next.js provides and am thinking of using Vite instead is there a command to add a vite app to my monorepo
4 Replies
Michal Srb
Michal Srb5mo ago
I assume you're using Turbo? Have you checked their docs?
burnstony#1975
burnstony#1975OP5mo ago
I’ll try that. I hadn’t actually thought of that. Id love a Convex blog post breaking down the pros and cons of the the different front end tech. I’m a backend guy and a bit overwhelmed with all the front end options. Vite, Next.js, Svelte, Vue etc. Until Databased Episode 2 I hadn’t really thought about the differences Like I don't even know what effects page load times
burnstony#1975
burnstony#1975OP5mo ago
OK - I found this so far https://labs.convex.dev/auth/setup npm create convex@latest https://turbo.build/repo/docs/guides/frameworks/vite npm create vite@latest apps/my-app
Set Up Convex Auth - Convex Auth
Authentication library for your Convex backend
Turbo
Vite | Turborepo
Learn more about using Vite in your monorepo.
burnstony#1975
burnstony#1975OP5mo ago
I'd be afraid to mash these together npm create convex@latest apps/my-app but it would be cool if the convex commands worked inside a monorepo Should I use SWC