kitbagjs / router

A type safe router for vuejs
MIT License
131 stars 1 forks source link

Fix param names unable to be snake or kebab case #182

Closed pleek91 closed 1 month ago

pleek91 commented 1 month ago

Description

Since the param regex only looked for \w characters any param name that was snake or kebab case would not work. Adding - and _ to the regex patterns fixes this.

Closes https://github.com/kitbagjs/router/issues/144

netlify[bot] commented 1 month ago

Deploy Preview for kitbag-router ready!

Name Link
Latest commit c6afabffd85861222f00187b74434e0813078ac5
Latest deploy log https://app.netlify.com/sites/kitbag-router/deploys/664e964297fd81000978bd7d
Deploy Preview https://deploy-preview-182--kitbag-router.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.