vue-router
https://github.com/vuejs/vue-router
JavaScript
🚦 The official router for Vue 2
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
JavaScript not yet supported1 Subscribers
Add a CodeTriage badge to vue-router
Help out
- Issues
- correct typedef of Route
- fix: onBeforeRouteLeave not remove (fix #3826)
- fix(history): Resolve the href in `<base>` correctly (#3819)
- fix(scroll): leading // no longer crashes scrollBehavior init
- fix: replace existing route in addRoute show warning msg
- addRoute() with name couldn't replace the existing rule with the same name.
- feat: optimize method to determine whether the two path are the same in ensureUrl methods
- Optional parameters are dropped in named nested routes
- Provide access to the router instance and component options in "beforeRouteEnter" guard
- Allow defining an inactive-class
- Docs
- JavaScript not yet supported