← All Workshops
MudEngine Part 1: Requirements
Step 17 / 19
Write our first component
Replace src/main.rs with a minimal Dioxus app so we can test the setup.
mud-engine/src/main.rs
use dioxus::prelude::*; fn main() { dioxus::launch(App); } #[component] fn App() -> Element { rsx! { h1 { "🧙 MudEngine" } p { "Part 1 — setup complete!" } } }
Step 17 / 19