Skip to content

How do I make the router work with a query string? #36

Description

@kristiwr

What code do I need for the router to recognize an optional query string? I specifically need a query string because it will be parsed by JavaScript on the page. I tried creating two routes, one with a query string parameter and one without. The one without the query string works fine, but when the query string is present the router doesn't match the route. I looked on the Router page in the documentation but couldn't find anything about this. Can you help?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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