wobsoriano / trpc-nuxt

End-to-end typesafe APIs in Nuxt applications.
trpc-nuxt.vercel.app
MIT License
687 stars 39 forks source link

Nuxt Layers/Extends Support #77

Closed warflash closed 1 year ago

warflash commented 1 year ago

Hey 👋

I'm wondering if there's a way to use this module together with the nuxt layers feature: https://nuxt.com/docs/guide/going-further/layers

Things like having an auth/user router in the base repository and then plugging individual routers into the base router on the project that extends the base repo.

Maybe this is already possible but unfortunately I couldn't figure out how, so if someone got resources or examples for that I'd highly appreciate it!