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.
- Build Hydration Bundle
trunk build examples/ssr_router/index.html
- Run the server
cargo run --features=ssr --bin ssr_router_server -- --dir examples/ssr_router/dist
- Open Browser
Navigate to http://localhost:8080/ to view results.