humblemodulo
humblemodulo4mo ago

trpc with Nuxt 4

I'm having trouble trying to use trpc with Nuxt 4. I've moved plugins to the app directory as per the new structure, but following the trpc-nuxt instructions otherwise (https://trpc-nuxt.vercel.app/get-started/usage/recommended). The returned $client value is a Proxy instance that has no capabilities otherwise. Anyone able to provide some insight as to the issue, or perhaps a better way to go about it? Perhaps using trpc directly without any Nuxt-specific bindings? 🤔
1 Reply
Russ Painter
Russ Painter2mo ago
Same here. Wasted many hours trying to get these working together. Would love to see a demo app.

Did you find this page helpful?