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:
Miles Murgaw authored and GitHub committed 2024-07-23 10:29:37 -07:00
1 parent 856fadc9d6
commit 672f4dfefc
23 files changed
+154 -134

No files matched your search

+3 -1
View File
@@ -8,6 +8,8 @@ use std::sync::Arc;
use dioxus::prelude::*;
use dioxus::{html::HasFileData, prelude::dioxus_elements::FileEngine};
const STYLE: &str = asset!(file("./examples/assets/file_upload.css"));
fn main() {
launch(app);
}
@@ -41,7 +43,7 @@ fn app() -> Element {
};
rsx! {
style { {include_str!("./assets/file_upload.css")} }
link { rel: "stylesheet", href: STYLE }
h1 { "File Upload Example" }
p { "Drop a .txt, .rs, or .js file here to read it" }