euv_example/lib.rs
1//! euv Example
2//!
3//! A demonstration application showcasing the euv component system,
4//! reactive signals, routing, and HTML macros.
5
6mod app;
7mod component;
8mod page;
9mod router;
10mod style;
11mod theme;
12
13use {app::*, component::*, page::*, router::*, style::*, theme::*};
14
15use std::rc::Rc;
16
17use euv::{js_sys::*, wasm_bindgen::prelude::*, wasm_bindgen_futures::*, web_sys::*, *};
18
19use lombok_macros::*;
20
21/// Entry point for the euv example application.
22#[wasm_bindgen]
23pub fn main() {
24 console_error_panic_hook::set_once();
25 inject_app_global_css();
26 mount("#app", app);
27}