Files
malxte_de/src/main.rs
Malte Schröder 7e7f9de2a5 Basic Website
2025-12-13 18:27:56 +01:00

14 lines
536 B
Rust

// Declare the 'home' module, making the components inside available.
mod home;
// Import the Home component from the 'home' module.
use home::Home;
/// The main function, the entry point of the Rust application.
fn main() {
// Renders the Yew application.
// It creates a new renderer for the root component (Home) and mounts it.
// The component will be rendered inside the 'body' element by default,
// or to the element specified in the index.html if using `with_root`.
yew::Renderer::<Home>::new().render();
}