cess 0.1.0

A CSS component library based on YEW
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use yew::prelude::*;
use wasm_bindgen::prelude::*;

mod component;
mod utils;

// When the `wee_alloc` feature is enabled, use `wee_alloc` as the global
// allocator.
#[cfg(feature = "wee_alloc")]
#[global_allocator]
static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;

#[wasm_bindgen(start)]
pub fn run_app() {
    App::<component::button::Button>::new().mount_to_body();
}