mirror of
https://github.com/adoyle0/thaw.git
synced 2025-02-02 08:34:15 -05:00
feat: add leptos_devtools
This commit is contained in:
parent
f7d8b16483
commit
5b27be9c21
2 changed files with 6 additions and 0 deletions
|
@ -15,3 +15,7 @@ icondata = { version = "0.0.7", features = [
|
||||||
leptos_router = { version = "0.5.0-beta2", features = ["csr"] }
|
leptos_router = { version = "0.5.0-beta2", features = ["csr"] }
|
||||||
indoc = "2.0.1"
|
indoc = "2.0.1"
|
||||||
regex = "1.8.2"
|
regex = "1.8.2"
|
||||||
|
leptos_devtools = { git = "https://github.com/luoxiaozero/leptos-devtools.git" }
|
||||||
|
|
||||||
|
[features]
|
||||||
|
tracing = ["leptos/tracing"]
|
||||||
|
|
|
@ -6,5 +6,7 @@ use app::*;
|
||||||
use leptos::*;
|
use leptos::*;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
#[cfg(feature = "tracing")]
|
||||||
|
leptos_devtools::devtools();
|
||||||
mount_to_body(App)
|
mount_to_body(App)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue