visionmedia / page.js

Micro client-side router inspired by the Express router
http://visionmedia.github.com/page.js
7.67k stars 687 forks source link

Documentation revision - named wildcard #426

Closed skwny closed 6 years ago

skwny commented 6 years ago

The docs state this is how to use named wildcard access: page('/file/:file(*)', loadUser)

That generates an error for me so instead I tried this and it worked: page('/file/:file*', loadUser)

matthewp commented 6 years ago

Previous issue exists: https://github.com/visionmedia/page.js/issues/338

Will be fixed there, thanks! 😁