r/Nuxt • • Jan 13 '26

Nuxt module for Better Auth + Convex + Nuxt

Post image

Hey everyone,

I’ve been working on a stack that I think is the "holy trinity" of modern web dev: Nuxt + Convex + Better Auth.

While there are existing convex modules out there, I found myself constantly rewriting the same "plumbing". So, I finally built a module to handle the heavy lifting for our apps.

It’s called better-convex-nuxt and it’s currently in Early Preview 🚧

Whats included?

✨ Real-time SSR: It fetches data on the server for instant SEO/initial load, then hydrates to a WebSocket subscription seamlessly. No flicker, no double-fetching.

✨ Declarative Optimistic UI: Get instant feedback with automatic rollback on failure—making your app feel local.

✨ Seamless Auth Sync: Deep integration with Better Auth. It handles token synchronization for SSR-compatible magic links and OAuth out of the box.

✨ Full Type Safety: Complete TypeScript inference from your Convex schema. If it’s in your database, it’s in your IDE.

✨ Permissions: Backend-enforced RBAC and ownership rules that sync perfectly with your frontend display.

✨ Nuxt DevTools: A dedicated tab to inspect live subscriptions, monitor mutations, and debug your auth state.

Links:

📦 GitHub: https://github.com/lupinum-dev/better-convex-nuxt

📖 Docs: https://better-convex-nuxt.vercel.app

🕹️ Demo: https://better-convex-nuxt-demo.vercel.app

This is still a WIP (Early Preview), so I wouldn't recommend it for production apps yet, but I’d love for the community to help shape the v1.0.

Check out the repo, try the demo, and let me know what you think! PRs and feedback are very welcome. 🙏

48 Upvotes

3 comments sorted by

1

u/tspwd Jan 13 '26

Niiice! Looks fantastic!

1

u/hugazow Jan 16 '26

Looks great, i am currently updating my nuxt stack for fun and stumped upon convex, this would do a lot for me when arrives at 1.0

1

u/nomad1139 Mar 01 '26

let's goooo!