//! basic example that renders a simple domtree to the page :) //! //! //! use dioxus_core::prelude::bumpalo::Bump; use dioxus_core::prelude::*; use dioxus_web::*; fn main() { wasm_logger::init(wasm_logger::Config::new(log::Level::Debug)); console_error_panic_hook::set_once(); WebsysRenderer::simple_render(html! {
// Title
"Jon's awesome site!!11"
// Subtext / description
"He worked so hard on it :)"
// Main number
"1337"
// Try another
}); }