mirror of
https://github.com/adoyle0/thaw.git
synced 2025-01-23 14:29:22 -05:00
526 B
526 B
Server Sider Rendering
To enable the ssr mode, the following configurations are required:
thaw = { ..., features = ["ssr"] }
To enable the hydrate mode, the following configurations are required:
thaw = { ..., features = ["hydrate"] }
cargo-leptos
if you use cargo-leptos, Remember to add thaw to your Cargo.toml
file in the corresponding feature, e.g.
[features]
...
hydrate = [..., "thaw/hydrate"]
ssr = [
...
"thaw/ssr",
]