From 1aba8e5f3a3d7f321f7de0873681a89bee9bfe47 Mon Sep 17 00:00:00 2001 From: Greg Johnston Date: Fri, 5 Jan 2024 09:50:47 -0500 Subject: [PATCH] note about `nightly` in `cargo-leptos` section --- src/ssr/21_cargo_leptos.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ssr/21_cargo_leptos.md b/src/ssr/21_cargo_leptos.md index 05d6676..53226f3 100644 --- a/src/ssr/21_cargo_leptos.md +++ b/src/ssr/21_cargo_leptos.md @@ -30,6 +30,9 @@ Now `cd` into the directory you’ve created and run cargo leptos watch ``` +> **Note**: Remember that Leptos has a `nightly` feature, which each of these starters use. If you're using the stable Rust compiler, +> that’s fine; just remove the `nightly` feature from each of the Leptos dependencies in your new `Cargo.toml` and you should be all set. + Once your app has compiled you can open up your browser to [`http://localhost:3000`](http://localhost:3000) to see it. `cargo-leptos` has lots of additional features and built in tools. You can learn more [in its `README`](https://github.com/leptos-rs/cargo-leptos/blob/main/README.md).