mirror of
https://github.com/adoyle0/thaw.git
synced 2025-02-02 08:34:15 -05:00
Improving server side rendering docs to include feature (#221)
* Improving server side rendering docs to include feature * Update server_sider_rendering.md --------- Co-authored-by: Vito Chiarella <vchiarella@demonware.net> Co-authored-by: luoxiaozero <48741584+luoxiaozero@users.noreply.github.com>
This commit is contained in:
parent
710d7c6703
commit
084f3010a0
1 changed files with 12 additions and 0 deletions
|
@ -11,3 +11,15 @@ To enable the hydrate mode, the following configurations are required:
|
||||||
```toml
|
```toml
|
||||||
thaw = { ..., features = ["hydrate"] }
|
thaw = { ..., features = ["hydrate"] }
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Remember to add thaw to your `Cargo.toml` file in the corresponding feature, e.g.
|
||||||
|
|
||||||
|
```toml
|
||||||
|
[features]
|
||||||
|
...
|
||||||
|
hydrate = [..., "thaw/hydrate"]
|
||||||
|
ssr = [
|
||||||
|
...
|
||||||
|
"thaw/ssr",
|
||||||
|
]
|
||||||
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue