initial os release. I really expect SO much bugs, guys. good luck =)
This commit is contained in:
commit
d47557dc59
1 changed files with 7965 additions and 0 deletions
10
examples/leptos-axum/src/lib.rs
Normal file
10
examples/leptos-axum/src/lib.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
pub mod shell;
|
||||
pub mod routes;
|
||||
|
||||
#[cfg(feature = "hydrate")]
|
||||
#[wasm_bindgen::prelude::wasm_bindgen]
|
||||
pub fn hydrate() {
|
||||
use crate::shell::*;
|
||||
console_error_panic_hook::set_once();
|
||||
leptos::mount::hydrate_body(App);
|
||||
}
|
||||
Loading…
Reference in a new issue