lockwatch/client/src/main.rs
finga f85a4d7e87 Lay out the structure of the project
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.
2022-09-17 18:49:41 +02:00

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>();
}