Use cargo workspaces
This commit is contained in:
12
web/src/main.rs
Normal file
12
web/src/main.rs
Normal file
@@ -0,0 +1,12 @@
|
||||
use yew::prelude::*;
|
||||
|
||||
#[function_component(App)]
|
||||
fn app() -> Html {
|
||||
html! {
|
||||
<h1>{ "Hello World" }</h1>
|
||||
}
|
||||
}
|
||||
|
||||
fn main() {
|
||||
yew::start_app::<App>();
|
||||
}
|
||||
Reference in New Issue
Block a user