-
-
Notifications
You must be signed in to change notification settings - Fork 133
Open
Labels
Description
Kind of related to #86, which said it's not possible to define a parent route name in <route>
block.
Why is the name of parent routes removed? code here:
vite-plugin-pages/src/generate.ts
Line 41 in 4676b31
delete route.name |
The router supports navigating to a parent route with no child match (at least we do it and it seems to work perfectly with no warning on console).
It'd be easier to navigate to such routes if the name was kept.