Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

routes with query params #139

Open
11111000000 opened this issue Sep 12, 2015 · 2 comments
Open

routes with query params #139

11111000000 opened this issue Sep 12, 2015 · 2 comments

Comments

@11111000000
Copy link

On route like this: /, and also /#/ all works fine. Then, I add query parameter to uri: /?invite=test, and it works, but /#/?invite=test and /#?invite=test isn't - nothing happens. How to support routes with query parameters? I need to add routes with RegEx or what?

@lzl124631x
Copy link

/#?invite=test should match {?invite}. Doesn't it?

@lzl124631x
Copy link

Are you using hasher.js, which helps you parse the hash part of url? The query string after # is actually part of hash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants