19 lines
313 B
Rust
19 lines
313 B
Rust
mod app;
|
|
mod components;
|
|
mod pages;
|
|
mod protocal;
|
|
mod utils;
|
|
|
|
use wasm_bindgen::prelude::*;
|
|
|
|
#[cfg(feature = "wee_alloc")]
|
|
#[global_allocator]
|
|
static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;
|
|
|
|
#[wasm_bindgen]
|
|
pub fn run_app() -> Result<(), JsValue> {
|
|
yew::start_app::<app::App>();
|
|
|
|
Ok(())
|
|
}
|