Skip to content

Support non absolute paths in EditableTreeNode #341

Open
@jods4

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

Assignees

No one assigned

    Labels

    Projects

    • Status

      📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions