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::{
16    cell::{Cell, RefCell},
17    rc::Rc,
18};
19
20use euv::{js_sys::*, wasm_bindgen::prelude::*, wasm_bindgen_futures::*, web_sys::*, *};
21
22use {
23    lombok_macros::*,
24    qrcode::{QrCode, render::svg},
25    serde::Deserialize,
26};
27
28/// Entry point for the euv example application.
29#[wasm_bindgen]
30pub fn main() {
31    console_error_panic_hook::set_once();
32    inject_app_global_css();
33    mount("#app", app);
34}