From e678b48b0f8445f9e467b10be4f02d0c723fcfbb Mon Sep 17 00:00:00 2001 From: Greg Johnston Date: Fri, 22 Mar 2024 14:34:16 -0400 Subject: [PATCH] Update leptos_dx.md --- src/getting_started/leptos_dx.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/getting_started/leptos_dx.md b/src/getting_started/leptos_dx.md index 6500c22..2e09dc5 100644 --- a/src/getting_started/leptos_dx.md +++ b/src/getting_started/leptos_dx.md @@ -47,6 +47,10 @@ VSCode with cargo-leptos `settings.json`: "server" ], }, +// if code that is cfg-gated for the `ssr` feature is shown as inactive, +// you may want to tell rust-analyzer to enable the `ssr` feature by default +// +// you can also use `rust-analyzer.cargo.allFeatures` to enable all features "rust-analyzer.cargo.features": ["ssr"] ```