fix: leptos template

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-09-07 22:19:25 +02:00
parent c13631cf7f
commit be2595d59f
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394
2 changed files with 6 additions and 1 deletions

View File

@ -1 +1 @@
# Ghostlog
# %%name%%

View File

@ -32,3 +32,8 @@ pub fn App() -> impl IntoView {
</Router>
}
}
#[component]
fn HomePage() -> impl IntoView {
view! {<h1> Hello %%name%% </h1>}
}