Trim off 150 deps for examples

This commit is contained in:
Jonathan Kelley committed 2024-01-18 12:32:01 -08:00
1 parent c59a2fb829
commit 451a2b6cfc
20 files changed
+297 -641

No files matched your search

+2 -2
View File
@@ -13,7 +13,7 @@ use dioxus::prelude::*;
use dioxus_desktop::Config;
fn main() {
LaunchBuilder::new(app)
LaunchBuilder::desktop()
.cfg(Config::new().with_prerendered({
// We build the dom a first time, then pre-render it to HTML
let pre_rendered_dom = VirtualDom::prebuilt(app);
@@ -21,7 +21,7 @@ fn main() {
// We then launch the app with the pre-rendered HTML
dioxus_ssr::pre_render(&pre_rendered_dom)
}))
.launch_desktop();
.launch(app)
}
fn app() -> Element {