We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I'm using "navigo": "^5.3.2".
"navigo": "^5.3.2"
I have following code:
var router = new Navigo(null, true, '#!'); router.on({ '/home': function (query) { console.log('router->on query:', query); mainApp.loadCtrl(HomeCtrl, query) } });
Calling http://localhost:3000/#!/home works - route is found. Calling http://localhost:3000/#!/home?q=test is not working - route is not found.
http://localhost:3000/#!/home
http://localhost:3000/#!/home?q=test
If I use a param, like in the example on github project page, it's working:
router.on({ '/home/:useless': function (params, query) { console.log('router->on query:', query, 'params', params); mainApp.loadCtrl(HomeCtrl, query) } });
Calling http://localhost:3000/#!/home/x is working! Calling http://localhost:3000/#!/home/x?q=test is working!
http://localhost:3000/#!/home/x
http://localhost:3000/#!/home/x?q=test
If I have just a query param without parameterized URLs, the URL is not resolved.
Do you have any idea what I'm doing wrong?
Thanks, Matthias
The text was updated successfully, but these errors were encountered:
Same exact issue over here!
Sorry, something went wrong.
#162 fixing a bug while using hash based routing
1c1cdd1
@mr678 @Datamance can you please try 5.3.3 version.
@krasimir works! :-) Thank you so much for providing a fix so fast 👍
No branches or pull requests
Hi,
I'm using
"navigo": "^5.3.2"
.I have following code:
Calling
http://localhost:3000/#!/home
works - route is found.Calling
http://localhost:3000/#!/home?q=test
is not working - route is not found.If I use a param, like in the example on github project page, it's working:
Calling
http://localhost:3000/#!/home/x
is working!Calling
http://localhost:3000/#!/home/x?q=test
is working!If I have just a query param without parameterized URLs, the URL is not resolved.
Do you have any idea what I'm doing wrong?
Thanks,
Matthias
The text was updated successfully, but these errors were encountered: