mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 14:54:16 +00:00
parent
3a98bdb3c2
commit
651a111db9
1 changed files with 18 additions and 18 deletions
|
@ -52,12 +52,12 @@ pub fn App(cx: Scope) -> impl IntoView {
|
|||
<Outlet/>
|
||||
}
|
||||
>
|
||||
<Route path="" view=Nested
|
||||
<Route path="inside" view=NestedResourceInside
|
||||
<Route path="single" view=Single
|
||||
<Route path="parallel" view=Parallel
|
||||
<Route path="inside-component" view=InsideComponent
|
||||
<Route path="none" view=None
|
||||
<Route path="" view=Nested/>
|
||||
<Route path="inside" view=NestedResourceInside/>
|
||||
<Route path="single" view=Single/>
|
||||
<Route path="parallel" view=Parallel/>
|
||||
<Route path="inside-component" view=InsideComponent/>
|
||||
<Route path="none" view=None/>
|
||||
</Route>
|
||||
// in-order
|
||||
<Route
|
||||
|
@ -69,12 +69,12 @@ pub fn App(cx: Scope) -> impl IntoView {
|
|||
<Outlet/>
|
||||
}
|
||||
>
|
||||
<Route path="" view=Nested
|
||||
<Route path="inside" view=NestedResourceInside
|
||||
<Route path="single" view=Single
|
||||
<Route path="parallel" view=Parallel
|
||||
<Route path="inside-component" view=InsideComponent
|
||||
<Route path="none" view=None
|
||||
<Route path="" view=Nested/>
|
||||
<Route path="inside" view=NestedResourceInside/>
|
||||
<Route path="single" view=Single/>
|
||||
<Route path="parallel" view=Parallel/>
|
||||
<Route path="inside-component" view=InsideComponent/>
|
||||
<Route path="none" view=None/>
|
||||
</Route>
|
||||
// async
|
||||
<Route
|
||||
|
@ -86,12 +86,12 @@ pub fn App(cx: Scope) -> impl IntoView {
|
|||
<Outlet/>
|
||||
}
|
||||
>
|
||||
<Route path="" view=Nested
|
||||
<Route path="inside" view=NestedResourceInside
|
||||
<Route path="single" view=Single
|
||||
<Route path="parallel" view=Parallel
|
||||
<Route path="inside-component" view=InsideComponent
|
||||
<Route path="none" view=None
|
||||
<Route path="" view=Nested/>
|
||||
<Route path="inside" view=NestedResourceInside/>
|
||||
<Route path="single" view=Single/>
|
||||
<Route path="parallel" view=Parallel/>
|
||||
<Route path="inside-component" view=InsideComponent/>
|
||||
<Route path="none" view=None/>
|
||||
</Route>
|
||||
</Routes>
|
||||
</main>
|
||||
|
|
Loading…
Reference in a new issue