feat: add leptos_devtools

This commit is contained in:
luoxiao 2023-09-09 22:22:27 +08:00
parent f7d8b16483
commit 5b27be9c21
2 changed files with 6 additions and 0 deletions

View file

@ -15,3 +15,7 @@ icondata = { version = "0.0.7", features = [
leptos_router = { version = "0.5.0-beta2", features = ["csr"] }
indoc = "2.0.1"
regex = "1.8.2"
leptos_devtools = { git = "https://github.com/luoxiaozero/leptos-devtools.git" }
[features]
tracing = ["leptos/tracing"]

View file

@ -6,5 +6,7 @@ use app::*;
use leptos::*;
fn main() {
#[cfg(feature = "tracing")]
leptos_devtools::devtools();
mount_to_body(App)
}