pihentagy
Using Deno 2 for simple HMR/static site dev server with Vite
I have the same issue, but it's a side project, so I won't progress.
What I have found:
- https://docs.deno.com/runtime/tutorials/how_to_with_npm/vue/
- https://docs.deno.com/deploy/tutorials/vite/ (simply just select vue in the vite setup)
4 replies
With Deno.serveHttp marked as deprecated is there a way to run an HTTP server off of a Deno.Conn?
I also have this usecase, when I'm requesting user consent for accessing google account.
So were there any solutions to a one-off serving?
My code btw:
I modified it, but needs an extra
setTimeout
for server.shutdown, of throws an error
8 replies