mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
SSR Router Example
This example is the same as the function router example, but with server-side rendering and hydration support. It reuses the same codebase of the function router example.
How to run this example
- Build Hydration Bundle
trunk build index.html
- Run the server
cargo run --features=ssr --bin ssr_router_server -- --dir dist