feat: add prevent default attribute and upgrade router

This commit is contained in:
Jonathan Kelley committed 2022-01-05 16:34:24 -05:00
1 parent cb2782b4bb
commit 427b126bc1
16 files changed
+220 -181

No files matched your search

+2 -1
View File
@@ -1,7 +1,8 @@
use dioxus::prelude::*;
use dioxus_desktop::tao::menu::MenuBar;
fn main() {
dioxus::desktop::launch(app);
dioxus::desktop::launch_cfg(app, |c| c.with_window(|w| w.with_menu(MenuBar::default())));
}
fn app(cx: Scope) -> Element {