Skip to content

How to get the currently matching path #3935

@tbontb-iaq

Description

@tbontb-iaq

Is there some way to get the path that matches the current route level? For example, when I nest a user/:id page in the user page and the current path is /user/123, then I want to get /user on the user page and /user/123 on the user/:id page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions