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 {
20 lombok_macros::*,
21 qrcode::{QrCode, render::svg},
22 serde::Deserialize,
23};
24
25/// Entry point for the euv example application.
26#[wasm_bindgen]
27pub fn main() {
28 console_error_panic_hook::set_once();
29 inject_app_global_css();
30 mount("#app", app);
31}