mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-12-18 00:23:07 +00:00
16 lines
321 B
Rust
16 lines
321 B
Rust
use dioxus_core as dioxus;
|
|
use dioxus_core::prelude::*;
|
|
use dioxus_html as dioxus_elements;
|
|
|
|
fn main() {
|
|
dioxus_desktop::launch(App, |f| f.with_window(|w| w.with_maximized(true))).expect("Failed");
|
|
}
|
|
|
|
static App: FC<()> = |cx| {
|
|
//
|
|
cx.render(rsx!(
|
|
div {
|
|
"hello world!"
|
|
}
|
|
))
|
|
};
|