使用 location.search 和 location.hash中查询参数的前端路由器,而不是动态路由匹配,不需要"Path-to-RegExp"了
Primary LanguageTypeScriptMIT LicenseMIT