You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/components/Link.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,8 @@ Consider a route hierarchy where a parent route pattern is "blog" and a child ro
93
93
-**route** - default, resolves the link relative to the route pattern. In the example above a relative link of `".."` will remove both `:slug/edit` segments back to "/blog".
94
94
-**path** - relative to the path so `..` will only remove one URL segment up to "/blog/:slug"
95
95
96
+
Note that index routes and layout routes have no paths so they are not included in the relative path calculation.
0 commit comments