* feat: integrate dioxus-logger inline * remove log/simple logger references * fix: add dioxus-data-id-0 to root elements to not emit errors internally * drop config.toml and use cargo.toml profiles instead * make clippy happy with the unit value lint * feat: better presentation for logging
16 lines
309 B
Rust
16 lines
309 B
Rust
use dioxus::prelude::*;
|
|
|
|
fn main() {
|
|
dioxus::launch(app);
|
|
}
|
|
|
|
fn app() -> Element {
|
|
rsx! (
|
|
div { style: "text-align: center;",
|
|
h1 { "🌗 Dioxus 🚀" }
|
|
h3 { "Frontend that scales." }
|
|
p { "Build web, desktop, and mobile apps with Dioxus" }
|
|
}
|
|
)
|
|
}
|