2024-12-06 14:45:14 +03:00
|
|
|
pub mod app;
|
|
|
|
pub mod components;
|
|
|
|
pub mod models;
|
2024-12-10 22:28:38 +03:00
|
|
|
pub mod nostr;
|
2025-01-22 14:14:18 +03:00
|
|
|
pub mod api;
|
2025-01-20 18:49:54 +03:00
|
|
|
#[cfg(feature = "ssr")]
|
2025-01-17 18:51:59 +03:00
|
|
|
pub mod db;
|
2024-12-06 14:45:14 +03:00
|
|
|
|
|
|
|
|
|
|
|
#[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);
|
|
|
|
}
|