//! basic example that renders a simple domtree to the page :) use dioxus_core::prelude::*; use dioxus_web::*; fn main() { // Enable logging wasm_logger::init(wasm_logger::Config::new(log::Level::Debug)); // Route panic as console_log console_error_panic_hook::set_once(); // Render the app WebsysRenderer::simple_render(html! {
"Count is {}"
}); }