-
-
Notifications
You must be signed in to change notification settings - Fork 103
Closed
Labels
⚡️ enhancementimprovement over an existing featureimprovement over an existing feature👍 contribution welcomeothers are welcome to implement/fix thisothers are welcome to implement/fix this
Description
I'm using extendRoute
to normalize our paths (to camelcase, but our files and folders sometimes have different casing).
Setting route.path
sometimes incorrectly logs warnings "Only absolute paths are supported.".
Offending code is here: https://github.com/posva/unplugin-vue-router/blob/main/src/core/extendRoutes.ts#L135
The oversight of this warning is that a route can be a nested child route, and path
is only the local path, not the full one. In this instance a relative path is ok (common, even).
Metadata
Metadata
Assignees
Labels
⚡️ enhancementimprovement over an existing featureimprovement over an existing feature👍 contribution welcomeothers are welcome to implement/fix thisothers are welcome to implement/fix this
Projects
Status
✅ Done