Add tailwindcss + set to LF

This commit is contained in:
Florian RICHER 2023-03-08 21:22:39 +01:00
parent 6c6521ef32
commit dba165af9a
9 changed files with 29 additions and 45 deletions

View file

@ -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>
}
}

View file

@ -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>
}