v2.0.0-rc.2
Pre-release
Pre-release
New
- New method:
router.getMatchedComponents
- returns the array of matched components (definition objects).
Breaking Changes
- Removed method:
router.setInitialLocation
. Instead, when the router is in abstract mode (set explicitly or when run in Node.js), the router will start in a "no route" state. The user can then just callrouter.push(initialLocation)
to set its initial location.
Fixed
$route.name
is now always exposed for named routes.