From 4d2b94d15d4418524faf9d7821c030e9691196b1 Mon Sep 17 00:00:00 2001 From: Sourabh Ranka <31345214+SourabhRanka@users.noreply.github.com> Date: Sun, 21 May 2023 18:26:25 +0530 Subject: [PATCH] Update dynamic-matching.md (#1853) Comma issues. --- packages/docs/guide/essentials/dynamic-matching.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/docs/guide/essentials/dynamic-matching.md b/packages/docs/guide/essentials/dynamic-matching.md index fb71f134..61c730a3 100644 --- a/packages/docs/guide/essentials/dynamic-matching.md +++ b/packages/docs/guide/essentials/dynamic-matching.md @@ -5,7 +5,7 @@ title="Learn about dynamic route matching with params" /> -Very often we will need to map routes with the given pattern to the same component. For example we may have a `User` component which should be rendered for all users but with different user IDs. In Vue Router we can use a dynamic segment in the path to achieve that, we call that a _param_: +Very often we will need to map routes with the given pattern to the same component. For example, we may have a `User` component which should be rendered for all users but with different user IDs. In Vue Router we can use a dynamic segment in the path to achieve that, we call that a _param_: ```js const User = { @@ -103,7 +103,7 @@ const routes = [ ] ``` -In this specific scenario we are using a [custom regexp](./route-matching-syntax.md#custom-regexp-in-params) between parentheses and marking the `pathMatch` param as [optionally repeatable](./route-matching-syntax.md#optional-parameters). This allows us to directly navigate to the route if we need to by splitting the `path` into an array: +In this specific scenario, we are using a [custom regexp](./route-matching-syntax.md#custom-regexp-in-params) between parentheses and marking the `pathMatch` param as [optionally repeatable](./route-matching-syntax.md#optional-parameters). This allows us to directly navigate to the route if we need to by splitting the `path` into an array: ```js this.$router.push({ -- 2.47.3