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

+13 -9
View File
@@ -5,13 +5,16 @@ use dioxus::prelude::*;
use dioxus_desktop::Config;
fn main() {
LaunchBuilder::new(app).cfg(
Config::new().with_custom_head("<style>body { background-color: red; }</style>".into()),
);
LaunchBuilder::new()
.cfg(
Config::new().with_custom_head("<style>body { background-color: red; }</style>".into()),
)
.launch(app);
LaunchBuilder::new(app).cfg(
Config::new().with_custom_index(
r#"
LaunchBuilder::new()
.cfg(
Config::new().with_custom_index(
r#"
<!DOCTYPE html>
<html>
<head>
@@ -24,9 +27,10 @@ fn main() {
</body>
</html>
"#
.into(),
),
);
.into(),
),
)
.launch(app);
}
fn app() -> Element {