Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 468 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 468 Bytes

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

  1. Build Hydration Bundle

trunk build examples/ssr_router/index.html

  1. Run the server

cargo run --features=ssr --bin ssr_router_server -- --dir examples/ssr_router/dist

  1. Open Browser

Navigate to http://localhost:8080/ to view results.