Рочев Александр
Рочев Александр
NNuxt
Created by Рочев Александр on 6/4/2024 in #❓・help
API handlers
No description
1 replies
NNuxt
Created by Рочев Александр on 4/9/2024 in #❓・help
how to type eventHandler result?
is there a way to type the result of a get request handler depending on the path and parameters of $fetch?
1 replies
NNuxt
Created by Рочев Александр on 3/1/2024 in #❓・help
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
1 replies