add web history integration

This commit is contained in:
Adrian Wannenmacher committed 2022-12-15 14:46:40 +01:00
1 parent e26e44fbc5
commit 53d97755fd
6 files changed
+144 -4

No files matched your search

+3
View File
@@ -4,7 +4,10 @@ use dioxus::prelude::*;
use dioxus_router::prelude::*;
fn main() {
#[cfg(not(feature = "web"))]
dioxus_desktop::launch(App);
#[cfg(feature = "web")]
dioxus_web::launch(App);
}
fn App(cx: Scope) -> Element {