You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However I still need to import the client in my frontend from my backend.
What could be awesome is to generate a client with minimal dependency that could be used by other projects (if I don't want to use a monorepo for instance).
An inspiration: in the @tanstack/react-router where a routeTree.gen.ts file is generated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm in a monorepo and I'm using generated client as explained in the doc:https://hono.dev/docs/guides/rpc#using-rpc-with-larger-applications
However I still need to import the client in my frontend from my backend.
What could be awesome is to generate a client with minimal dependency that could be used by other projects (if I don't want to use a monorepo for instance).
An inspiration: in the @tanstack/react-router where a
routeTree.gen.ts
file is generated.Beta Was this translation helpful? Give feedback.
All reactions