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
@@ -6,6 +6,8 @@
|
||||
use dioxus::prelude::*;
|
||||
use std::{collections::VecDeque, fmt::Debug, rc::Rc};
|
||||
|
||||
const STYLE: &str = asset!(file("./examples/assets/events.css"));
|
||||
|
||||
fn main() {
|
||||
launch(app);
|
||||
}
|
||||
@@ -24,7 +26,7 @@ fn app() -> Element {
|
||||
};
|
||||
|
||||
rsx! {
|
||||
style { {include_str!("./assets/events.css")} }
|
||||
link { rel: "stylesheet", href: STYLE }
|
||||
div { id: "container",
|
||||
// focusing is necessary to catch keyboard events
|
||||
div { id: "receiver", tabindex: 0,
|
||||
|
||||
Reference in new issue
Block a user