mod components; use leptos::*; use leptos_meta::*; use leptos_router::*; use leptos_icons::FaIcon::FaGithubBrands; use leptos_icons::*; #[component] pub fn App() -> impl IntoView { provide_meta_context(); view! { }/> } } #[component] fn Home() -> impl IntoView { let (count, set_count) = create_signal(0); view! { "Welcome to Leptos with Tailwind" "Tailwind will scan your Rust files for Tailwind class names and compile them into a CSS file." Salut Salut Github Github "Something's here | " {move || if count() == 0 { "Click me!".to_string() } else { count().to_string() }} " | Some more text" } }
"Tailwind will scan your Rust files for Tailwind class names and compile them into a CSS file."