Skip to content

v2.0.0-rc.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@yyx990803 yyx990803 released this 05 Aug 21:33
· 1309 commits to dev since this 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 call router.push(initialLocation) to set its initial location.

Fixed

  • $route.name is now always exposed for named routes.