Skip to main content

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};
23
24/// Entry point for the euv example application.
25#[wasm_bindgen]
26pub fn main() {
27    console_error_panic_hook::set_once();
28    inject_app_global_css();
29    mount("#app", app);
30}