show off the new asset system in the examples
This commit is contained in:
1 parent
a647ce2f36
commit
d627153ccc
8 files changed
+14
-9
No files matched your search
+2
-1
@@ -7,6 +7,8 @@ fn main() {
|
||||
dioxus_desktop::launch(app);
|
||||
}
|
||||
|
||||
const _STYLE: &str = mg!(file("./examples/assets/todomvc.css"));
|
||||
|
||||
#[derive(PartialEq, Eq, Clone, Copy)]
|
||||
pub enum FilterState {
|
||||
All,
|
||||
@@ -47,7 +49,6 @@ pub fn app(cx: Scope<()>) -> Element {
|
||||
|
||||
cx.render(rsx! {
|
||||
section { class: "todoapp",
|
||||
style { include_str!("./assets/todomvc.css") }
|
||||
TodoHeader {
|
||||
todos: todos,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user