Skip to content

Commit 26bcf7c

Browse files
authored
docs: remove route groups nav item for code-based routing (#163)
1 parent 15e82b0 commit 26bcf7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/.vitepress/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ function getSidebarGuide(mode: 'code-based' | 'file-based') {
181181
{ text: 'Code Splitting', link: '/code-splitting' },
182182
{ text: 'Preloading', link: '/preloading' },
183183
{ text: 'Route Metadata', link: '/route-metadata' },
184-
{ text: 'Route Groups', link: '/route-groups' },
184+
...(mode === 'file-based' ? [{ text: 'Route Groups', link: '/route-groups' }] : []),
185185
{ text: 'Scroll Behavior', link: '/scroll-behavior' },
186186
{ text: 'View Transitions', link: '/view-transitions' },
187187
],

0 commit comments

Comments
 (0)