Sammy.js read route with &,?
问题 Need to be route looks like #/routeName/?param1=aaaa¶m2=bbb added to sammy #/routeName/:param1/:param2 and #/routeName/?:param1&:param2 none of them works 回答1: I've been looking into query parameters myself in Sammy.js, and discovered that (although it isn't mentioned in the API docs), Sammy does support query parameters. It simply adds any query parameters that it finds in your route to the route's Sammy.EventContext.params array. If you have a route structured like this: Sammy(function(