dioxus/examples/hello_world.rs

12 lines
141 B
Rust
Raw Normal View History

2021-10-27 18:54:49 +00:00
use dioxus::prelude::*;
fn main() {
launch_desktop(app);
2021-10-27 18:54:49 +00:00
}
fn app() -> Element {
render! {
2021-10-27 18:54:49 +00:00
div { "Hello, world!" }
}
2021-10-27 18:54:49 +00:00
}