Skip to content

Migrating from vue-router

✅ Nested routes mapping
✅ Dynamic Routing
✅ Modular, component-based router configuration
✅ Route params, query, wildcards
✅ View transition effects powered by Vue.js' transition system (todo!)
✅ Fine-grained navigation control
✅ Links with automatic active CSS classes (todo!)
✅ HTML5 history mode or hash mode
✅ Customizable Scroll Behavior (todo!)
✅ Proper encoding for URLs (todo?)

Child Routes

Child routes in vue-router have very different behavior depending on if the path starts with "/" or not. In Kitbag Router, the behavior is always the same, so add slashes where you want them and leave them off where you don't.

Route Regex

Hash History Mode

Repeatable Params

https://router.vuejs.org/guide/essentials/route-matching-syntax.html#Repeatable-params