mirror of
https://github.com/adoyle0/thaw.git
synced 2025-03-14 06:29:49 -04:00
17 lines
323 B
Rust
17 lines
323 B
Rust
|
use crate::pages::*;
|
||
|
use leptos::*;
|
||
|
use leptos_router::*;
|
||
|
|
||
|
#[component]
|
||
|
pub fn App(cx: Scope) -> impl IntoView {
|
||
|
view! { cx,
|
||
|
<Router>
|
||
|
<Routes>
|
||
|
<Route path="/" view=move |cx| view! {cx,
|
||
|
<Home />
|
||
|
} />
|
||
|
</Routes>
|
||
|
</Router>
|
||
|
}
|
||
|
}
|