This crate provides all the batteries required to build Dioxus apps.
Included in this crate is:
You'll still need to pull in a renderer to render the Dioxus VDOM. Any one of:
Make sure dioxus and its renderer share the same major version; the renderers themselves rely on dioxus.
[dependencies]
dioxus = "0.2"
dioxus-web = "0.2"
use dioxus::*;
fn main() {
dioxus_web::start(|ctx, _| {
rsx!{in ctx, div { "Hello world" }}
})
}
Additionally, you'll want to look at other projects for more batteries
Extra resources:
Happy building!