From: Sharon Lau Date: Tue, 3 May 2022 08:03:35 +0000 (+0800) Subject: docs: fix typos (#1389) X-Git-Tag: v4.0.15~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cbb0d3f7ebf88550b50c49139a2a5295d71ceb9;p=thirdparty%2Fvuejs%2Frouter.git docs: fix typos (#1389) * docs: fix typo in an code example * docs: fix a typo --- diff --git a/docs/guide/essentials/navigation.md b/docs/guide/essentials/navigation.md index af868da1..6d16639a 100644 --- a/docs/guide/essentials/navigation.md +++ b/docs/guide/essentials/navigation.md @@ -60,7 +60,7 @@ When specifying `params`, make sure to either provide a `string` or `number` (or Since the prop `to` accepts the same kind of object as `router.push`, the exact same rules apply to both of them. -`router.push` and all the other navigation methods return a _Promise_ that allows us to wait til the navigation is finished and to know if it succeeded or failed. We will talk more about that in [Navigation Handling](../advanced/navigation-failures.md). +`router.push` and all the other navigation methods return a _Promise_ that allows us to wait till the navigation is finished and to know if it succeeded or failed. We will talk more about that in [Navigation Handling](../advanced/navigation-failures.md). ## Replace current location diff --git a/docs/guide/essentials/route-matching-syntax.md b/docs/guide/essentials/route-matching-syntax.md index b1130363..52f8812a 100644 --- a/docs/guide/essentials/route-matching-syntax.md +++ b/docs/guide/essentials/route-matching-syntax.md @@ -94,7 +94,7 @@ const router = createRouter({ { path: '/users/:id', sensitive: true }, // will match /users, /Users, and /users/42 but not /users/ or /users/42/ { path: '/users/:id?' }, - ] + ], strict: true, // applies to all routes }) ```