]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
Update dynamic-matching.md (#1853)
authorSourabh Ranka <31345214+SourabhRanka@users.noreply.github.com>
Sun, 21 May 2023 12:56:25 +0000 (18:26 +0530)
committerGitHub <noreply@github.com>
Sun, 21 May 2023 12:56:25 +0000 (14:56 +0200)
Comma issues.

packages/docs/guide/essentials/dynamic-matching.md

index fb71f134a106eac3124eef091af8a414e681c0f0..61c730a3d55fcf30385c4f910ed8981457bfdaf1 100644 (file)
@@ -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({