bevy_dioxus 0.1.0

Write Cross-platform application with React-like decralative UI framework and scalable ECS architecture all in Rust.
Documentation

WARNING: bevy_dioxus is still in the very early stages of development.

fn main() {
    App::new()
        .insert_resource(WindowDescriptor {
            title: "Bevy Dioxus Plugin Example".to_string(),
            ..Default::default()
        })
        .add_plugin(DioxusPlugin::<(), ()>::new(Root))
        .run();
}

fn Root(cx: Scope) -> Element {
    cx.render(rsx! {
        h1 { "Hello, World !" }
    })
}

Try examples

gh repo clone JunichiSugiura/bevy_dioxus

cargo run --example counter

More examples can be found in examples/ directory.