16 lines
242 B
Rust
16 lines
242 B
Rust
|
pub mod app;
|
||
|
pub mod components;
|
||
|
pub mod models;
|
||
|
|
||
|
|
||
|
#[cfg(feature = "hydrate")]
|
||
|
#[wasm_bindgen::prelude::wasm_bindgen]
|
||
|
pub fn hydrate() {
|
||
|
use app::*;
|
||
|
use leptos::*;
|
||
|
|
||
|
console_error_panic_hook::set_once();
|
||
|
|
||
|
mount_to_body(App);
|
||
|
}
|