finga
f85a4d7e87
Parse arguments which can be used to configure the server. Create a WASM client stub and make the server capable of serving it. Document the current state in the readem.
19 lines
424 B
Rust
19 lines
424 B
Rust
use yew::prelude::*;
|
|
|
|
#[function_component(LockWatch)]
|
|
fn lock_watch() -> Html {
|
|
html! {
|
|
<section class="section">
|
|
<div class="container">
|
|
<h1 class="title">{ "LockWatch" }</h1>
|
|
</div>
|
|
</section>
|
|
}
|
|
}
|
|
|
|
fn main() {
|
|
wasm_logger::init(wasm_logger::Config::new(log::Level::Trace));
|
|
console_error_panic_hook::set_once();
|
|
yew::start_app::<LockWatch>();
|
|
}
|