Fix missing changements

This commit is contained in:
Florian RICHER 2023-03-08 20:33:05 +01:00
parent 2dd9558f74
commit 6c6521ef32
79 changed files with 1287 additions and 65765 deletions

13
src/app.rs Normal file
View file

@ -0,0 +1,13 @@
use yew::prelude::*;
#[function_component(App)]
pub fn app() -> Html {
html! {
<main>
<img class="logo" src="https://yew.rs/img/logo.png" alt="Yew logo" />
<h1>{ "Hello World!!" }</h1>
<span class="subtitle">{ "from Yew with " }<i class="heart" /></span>
<super::components::Test></super::components::Test>
</main>
}
}

8
src/main.rs Normal file
View file

@ -0,0 +1,8 @@
mod app;
pub(self) mod components;
use app::App;
fn main() {
yew::Renderer::<App>::new().render();
}