can-route
Version:
Observable front-end application routing for CanJS.
29 lines (17 loc) • 1.72 kB
Markdown
# can-route
[](https://www.bitovi.com/community/slack?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://forums.bitovi.com/?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://github.com/canjs/can-route/blob/master/LICENSE.md)
[](https://www.npmjs.com/package/can-route)
[](https://travis-ci.org/canjs/can-route)
[](https://greenkeeper.io/)
> __Note:__ This is the CanJS [can-route](https://github.com/canjs/can-route) module. The old `can-route` has been renamed to [did-route](https://www.npmjs.com/package/did-route). Many thanks to [@michaelrhodes](https://github.com/michaelrhodes) for letting us use the `can-route` module name.
Create a route matching rule. Optionally provide defaults that will be applied to the [can-map] when the route matches.
## Documentation
Read the [can-route API docs on CanJS.com](https://canjs.com/doc/can-route.html).
## Changelog
See the [latest releases on GitHub](https://github.com/canjs/can-route/releases).
## Contributing
The [contribution guide](https://github.com/canjs/can-route/blob/master/CONTRIBUTING.md) has information on getting help, reporting bugs, developing locally, and more.
## License
[MIT](https://github.com/canjs/can-route/blob/master/LICENSE.md)