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 component;
7mod page;
8mod style;
9
10use {component::*, page::*, style::*};
11
12pub use std::{
13    cmp::Ordering,
14    collections::HashSet,
15    fmt::{Debug, Display, Formatter, Result as FmtResult},
16    ops::Range,
17};
18
19use std::{
20    cell::{Cell, RefCell},
21    collections::HashMap,
22    rc::Rc,
23};
24
25use {
26    compare_version::*,
27    euv::{js_sys::*, wasm_bindgen::prelude::*, wasm_bindgen_futures::*, web_sys::*, *},
28    euv_engine::*,
29    euv_ui::*,
30};
31
32use {
33    lombok_macros::*,
34    qrcode::{QrCode, render::svg, types::QrError},
35    serde::{Deserialize, Serialize},
36};
37
38/// Entry point for the euv example application.
39#[wasm_bindgen]
40pub fn main() {
41    console_error_panic_hook::set_once();
42    inject_app_global_css();
43    App::mount("#app", app);
44}