typia
typia copied to clipboard
Support server-side functionality in Nuxt
Currently, it does not work on the Nuxt server-side (vite).
I am using unplugin-typia and added "plugins": [{ "transform": "typia/lib/transform" }] in both tsconfig files, for the client and the server.
Typia works on the client, but on the server, there is an error: "no transform has been configured."
Although validation is most important on the server side. It would be nice if support for working in the /server directory was added.
I don't know the frontend but could this link help?
- https://github.com/ryoppippi/unplugin-typia
@capybaras-team https://github.com/ryoppippi/unplugin-typia/issues/3 contributions are welcome!