From 084f3010a0ab96aa43857354b7e4877133f58349 Mon Sep 17 00:00:00 2001 From: Nibodhika Date: Wed, 31 Jul 2024 16:45:05 +0100 Subject: [PATCH] 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 Co-authored-by: luoxiaozero <48741584+luoxiaozero@users.noreply.github.com> --- demo_markdown/docs/_guide/server_sider_rendering.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/demo_markdown/docs/_guide/server_sider_rendering.md b/demo_markdown/docs/_guide/server_sider_rendering.md index 68fce55..8ee5a55 100644 --- a/demo_markdown/docs/_guide/server_sider_rendering.md +++ b/demo_markdown/docs/_guide/server_sider_rendering.md @@ -11,3 +11,15 @@ To enable the hydrate mode, the following configurations are required: ```toml 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", +] +```