Skip to content

Commit 029622b

Browse files
committed
docs: add breaking change not about parent
1 parent b76f0a3 commit 029622b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@
6262
</router-view>
6363
```
6464
See more on the [KeepAlive](https://github.com/vuejs/vue-router-next/blob/master/e2e/keep-alive/index.ts) and the [Transition](https://github.com/vuejs/vue-router-next/blob/master/e2e/transitions/index.ts) examples.
65+
- `parent` is removed from Route locations (`this.$route` and object returned by `router.resolve`). You can still access it via the `matched` array:
66+
```js
67+
const parent = this.$route.matched[this.$route.matched.length -1]
68+
```
6569

6670
### Typings
6771

0 commit comments

Comments
 (0)