Skip to content

Commit 917d73a

Browse files
authored
Add an index route too
Closes #12460
1 parent 9b6f889 commit 917d73a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/upgrading/future.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ Split any multi-segment splat `<Route>` into a parent route with the path and a
5757
<Route path="/" element={<Home />} />
5858
- <Route path="dashboard/*" element={<Dashboard />} />
5959
+ <Route path="dashboard">
60+
+ <Route index element={<Dashboard />} />
6061
+ <Route path="*" element={<Dashboard />} />
6162
+ </Route>
6263
</Routes>

0 commit comments

Comments
 (0)