feat: Add sample leptos webapp as example

This commit is contained in:
2025-07-02 23:13:08 -04:00
parent 6371009c6f
commit fb7849c010
20 changed files with 988 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
pub mod app;
#[cfg(feature = "hydrate")]
#[wasm_bindgen::prelude::wasm_bindgen]
pub fn hydrate() {
use app::*;
console_error_panic_hook::set_once();
leptos::mount::hydrate_body(App);
}