vike
vike copied to clipboard
Add example for API routes
I was hoping there could be an option to create or enable/disable api routes or you could create an example on how to do that in the examples folder ....thanks, and great work on this library
See https://vite-plugin-ssr.com/api-routes.
I'm leaving this open until I implement examples/telefunc/
and/or examples/api-routes/
.
I was trying to get vite-plugin-ssr
running with Nestjs
, however I run into similar problem, I dint found any(at least not an easy) way to implement API routes. It sounds a bit limiting to prevent something like this. Or maybe I missed some configuration?
See recommendation at https://vite-plugin-ssr.com/api-routes.
I'm leaving this open until I implement
examples/telefunc/
Done.