mirror of
https://github.com/adoyle0/thaw.git
synced 2025-02-12 20:02:47 -05:00
10 lines
266 B
Rust
10 lines
266 B
Rust
pub mod app;
|
|
|
|
#[cfg(feature = "hydrate")]
|
|
#[wasm_bindgen::prelude::wasm_bindgen]
|
|
pub fn hydrate() {
|
|
use crate::app::*;
|
|
let _ = console_log::init_with_level(log::Level::Debug);
|
|
console_error_panic_hook::set_once();
|
|
leptos::mount::hydrate_body(App);
|
|
}
|