feat: leptonic 0.2.0 / leptos 0.4.10 setup based on leptonic docs
This commit is contained in:
commit
b1ffebb011
12 changed files with 2647 additions and 0 deletions
11
src/main.rs
Normal file
11
src/main.rs
Normal 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)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue