RJR
Convex Community3y ago
15 replies
RJ

Convex with Remix 💿

I've just hooked up Convex to a 💿 Remix app (woohoo!), and ran into one small hiccup—Convex seems to think Remix is using Vite (probably because Remix uses esbuild, which Vite also uses), so every time I run
npx convex dev
, it asks me if I want to ? Create a .env.local file and add VITE_CONVEX_URL to save dev URL? (Y/n) . This is annoying because I have to turn it down every time I run that command, and also because running
npx convex dev
with concurrently (i.e. non-interactively) then doesn't work! I discovered the --no-save-url flag, which allows non-interactive execution again, and which is why it's only a minor hiccup 🙂
Was this page helpful?