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: src/core/extendRoutes.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -34,9 +34,9 @@ export class EditableTreeNode {
34
34
* Inserts a new route as a child of this route. This route cannot use `definePage()`. If it was meant to be included,
35
35
* add it to the `routesFolder` option.
36
36
*
37
-
* @param path - path segment to insert. Note this is relative to the current route. It shouldn't start with `/` unless you want the route path to be absolute.
38
-
* added at the root of the tree.
37
+
* @param path - path segment to insert. Note this is relative to the current route. **It shouldn't start with `/`**. If it does, it will be added to the root of the tree.
0 commit comments