overhaul dioxus fullstack using a new implementation of server_fn This PR is a complete rewrite of dioxus fullstack designed to improve compatibility with axum and to fix a number of compilation errors based on feature flag unification plumbing through macros.
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" }
|
|
}
|
|
)
|
|
}
|