Fix missing changements
This commit is contained in:
parent
2dd9558f74
commit
6c6521ef32
79 changed files with 1287 additions and 65765 deletions
13
src/app.rs
Normal file
13
src/app.rs
Normal 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
8
src/main.rs
Normal file
|
@ -0,0 +1,8 @@
|
|||
mod app;
|
||||
pub(self) mod components;
|
||||
|
||||
use app::App;
|
||||
|
||||
fn main() {
|
||||
yew::Renderer::<App>::new().render();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue