From: Nick Hall Date: Sat, 4 Jul 2020 08:11:01 +0000 (-0500) Subject: docs: typo in readme (#349) X-Git-Tag: v4.0.0-beta.2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85481825acfc30ecc7d633ae6bc6ca8a806c1fa6;p=thirdparty%2Fvuejs%2Frouter.git docs: typo in readme (#349) --- diff --git a/README.md b/README.md index f98f1461..664b1f12 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Check the [playground](https://github.com/vuejs/vue-router-next/tree/master/play - `base` option is now passed as the first argument to `createWebHistory` (and other histories) - Catch all routes (`/*`) must now be defined using a parameter with a custom regex: `/:catchAll(.*)` -- `router.match` and `router.resolve` are merged together into `router.resolve` with a slightly different signature. Check it's typing through autocomplete or [Router's `resolve` method](https://github.com/vuejs/vue-router-next/blob/master/src/router.ts) +- `router.match` and `router.resolve` are merged together into `router.resolve` with a slightly different signature. Check its typing through autocomplete or [Router's `resolve` method](https://github.com/vuejs/vue-router-next/blob/master/src/router.ts) - `router.getMatchedComponents` is now removed as they can be retrieved from `router.currentRoute.value.matched`: ```js router.currentRoute.value.matched.flatMap(record =>