Kerim HK
Denoβ€’2y agoβ€’
3 replies
Kerim H

Serving a deno vite-bundled react app with router

Hey all, I've been testing using vite with deno and it's been working quite nicely. Although all the examples throw it into a simple file server which doesn't really work when you've got routing done in the react app.

From the docs: https://docs.deno.com/deploy/tutorials/vite

I tried exploring using Hono to serve it after build, but I can only seem to get it to work if I manually set the rewrite paths. Was curious if anyone had any luck or a nice way of handling this?
Was this page helpful?