From: Eduardo San Martin Morote Date: Tue, 4 Aug 2020 14:52:22 +0000 (+0200) Subject: docs: add more breaking changes notes X-Git-Tag: v4.0.0-beta.6~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9e38637b4e679c50c000f4016eb2e964193ca711;p=thirdparty%2Fvuejs%2Frouter.git docs: add more breaking changes notes --- diff --git a/README.md b/README.md index 4955e8db..92a4cff5 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,12 @@ Object.values(record.components) ) ``` + - The `append` argument has been removed. You can manually concatenate the value to an existing `path` instead. +- `RouterLink` + - `append` prop has been removed as well. Use the same workaround as above. + - `event` prop has been removed. Use the `v-slot` API instead. See [RFC](https://github.com/vuejs/rfcs/blob/master/active-rfcs/0021-router-link-scoped-slot.md). + - `tag` prop has been removed. Use the `v-slot` API instead. See [RFC](https://github.com/vuejs/rfcs/blob/master/active-rfcs/0021-router-link-scoped-slot.md). + - `exact` prop has been removed. The caveat it was fixing is no longer present. See [RFC](https://github.com/vuejs/rfcs/blob/master/active-rfcs/0028-router-active-link.md). - If you use a `transition`, you may need to wait for the router to be _ready_ before mounting the app: ```js app.use(router)