Skip to content

Reverse arguments to URL? #48

Description

@i-tengfei

Does it support generating URLs from patterns and arguments?
like:

toPath("/user/:id", [ id: "123" ]); //=> "/user/123"

https://github.com/pillarjs/path-to-regexp#compile-reverse-path-to-regexp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions