feat: update template

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2025-01-11 22:22:39 +01:00
parent 5cf5519524
commit c01c27a0a4
20 changed files with 247 additions and 2808 deletions

View File

@@ -1,12 +1,10 @@
use app::*;
use leptos::*;
use wasm_bindgen::prelude::wasm_bindgen;
#[wasm_bindgen]
#[wasm_bindgen::prelude::wasm_bindgen]
pub fn hydrate() {
use app::*;
// initializes logging using the `log` crate
_ = console_log::init_with_level(log::Level::Debug);
console_error_panic_hook::set_once();
leptos::mount_to_body(App);
leptos::mount::hydrate_body(App);
}