DenoDDeno
Powered by
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?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Deno + Vite + React + VSCode
wilsonlewisWwilsonlewis / help
3y ago
`deno bundle` and React Router
chaosharmonicCchaosharmonic / help
8mo ago