test.rs 327 B

12345678910111213141516
  1. use dioxus_core as dioxus;
  2. use dioxus_core::prelude::*;
  3. use dioxus_html as dioxus_elements;
  4. fn main() {
  5. dioxus_desktop::launch(App, |f| f.with_window(|w| w.with_maximized(true))).expect("Failed");
  6. }
  7. static App: FC<()> = |cx, props|{
  8. //
  9. cx.render(rsx!(
  10. div {
  11. "hello world!"
  12. }
  13. ))
  14. };