-
(I'm not talking about using Leptos's server side capability!) Hi - I have a client-side only app and I could create an Axum crate and then build that, but this seems like such an obvious use-case that I'm surprised there isn't any prior art, something like I realise the conventional answer is "host it somewhere dummy" but is there a better option than copying Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
so https://github.com/svenstaro/miniserve or https://static-web-server.net might be the best contenders... |
Beta Was this translation helpful? Give feedback.
-
You might consider Tauri, which is kind of like Electron for Rust in that it allows a web client to run as a desktop app. For a learning project, I used pnpm to generate an app with |
Beta Was this translation helpful? Give feedback.
I can't say we've considered bundling the CSR output with a server. I suspect you could write a small Rust server, and then embed all the other files for Leptos CSR into that binary to be served with it.