Add tailwindcss + set to LF
This commit is contained in:
parent
6c6521ef32
commit
dba165af9a
9 changed files with 29 additions and 45 deletions
|
@ -3,11 +3,6 @@ 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>
|
||||
<super::components::Test></super::components::Test>
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ use yew::{function_component, Html, html};
|
|||
#[function_component]
|
||||
pub fn Test() -> Html {
|
||||
html! {
|
||||
<div>
|
||||
<div class="bg-red-500">
|
||||
<h1>{"Test component"}</h1>
|
||||
</div>
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue