-
I'm currently using Leptos in CSR mode and I'm wondering if it's possible to export my pages to HTML (static site)? I really like the react-like syntax that leptos provides. And the build tools are really great. But with what I'm currently building, WASM may be overkill. Was wondering if there's a way to have leptos export to HTML. I see that there's SSG on the SSR side of Leptos. I'm not sure if this just generates static HTML and serves it from the server-side binary? Or if leptos SSG actually generates static HTML files that can be served directly via CDNs and other static site hosts. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
I think there's maybe a conceptual mismatch here. For the sake of clarifying terms:
So "I'd like to use CSR without WASM" is just not possible. However, I think what you're asking is whether you can use static site generation without actually running a server. The answer to this is "yes, absolutely." If you:
You should effectively be able to run this with |
Beta Was this translation helpful? Give feedback.
I think there's maybe a conceptual mismatch here.
For the sake of clarifying terms:
So "I'd like to use CSR without WASM" is just not possible.
However, I think what you're asking is whether you can use static site generation without actually running a server. The…