Re-Export Manganis & Update Examples (#2625)
* feat: export manganis * revision: use manganis in examples * fix: manganis dep * fix: workspace root finder * fix: manganis dep * fix: ci
This commit is contained in:
1 parent
856fadc9d6
commit
672f4dfefc
23 files changed
+154
-134
No files matched your search
+3
-1
@@ -5,6 +5,8 @@
|
||||
|
||||
use dioxus::prelude::*;
|
||||
|
||||
const STYLE: &str = asset!(file("./examples/assets/clock.css"));
|
||||
|
||||
fn main() {
|
||||
launch_desktop(app);
|
||||
}
|
||||
@@ -36,7 +38,7 @@ fn app() -> Element {
|
||||
);
|
||||
|
||||
rsx! {
|
||||
style { {include_str!("./assets/clock.css")} }
|
||||
link { rel: "stylesheet", href: STYLE }
|
||||
div { id: "app",
|
||||
div { id: "title", "Carpe diem 🎉" }
|
||||
div { id: "clock-display", "{time}" }
|
||||
|
||||
Reference in new issue
Block a user