-
Notifications
You must be signed in to change notification settings - Fork 175
Open
Description
This should've went into the Discussions tab if it was available.
I'm trying to achieve the following:
- app with multiple layouts (Layout Route + Layout Router per layout).
- Layout Route should fail to match if all the nested routes failed to match.
unfortunately, no way to reach Not Found.
<script>
import {Router, Route} from 'svelte-routing'
</script>
<Router>
<Route path="/*">
<div>Main Layout</div>
<Router>
<Route path="/">Main</Route>
<Route path="/nested">nested within main layout</Route>
</Router>
</Route>
<Route path="/config/*">
<div>Config Layout</div>
<Router>
<Route path="/">Config Listing</Route>
<Route path="/1">Config 1</Route>
<Route path="/2">Config 2</Route>
</Router>
</Route>
<Route path="*">Not Found</Route>
</Router>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels