feat: leptonic 0.2.0 / leptos 0.4.10 setup based on leptonic docs

This commit is contained in:
Michael Mandl 2023-10-04 16:44:29 +02:00
commit b1ffebb011
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7
12 changed files with 2647 additions and 0 deletions

11
src/main.rs Normal file
View file

@ -0,0 +1,11 @@
use leptonic::prelude::*;
use leptos::*;
#[component]
pub fn App(cx: Scope) -> impl IntoView {
view! { cx, <Root default_theme=LeptonicTheme::default()>"Content goes here :)"</Root> }
}
fn main() {
mount_to_body(App)
}