Shared types between server and vue
Where can I store zod schemas and types that will be used by both the backend and vue? (so that the auto-import still works, at least only for types)
As I understand it, vue has access to server types, but the types from vue are truncated on the server.
I put the schematics in the server folder, but now after updating the page by HMR, vue-tsc starts climbing to check the types in the server folder and swear that something is looped on itself
0 Replies