]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: fix grammatical mistakes (#1676)
authorde-oz <101826623+de-oz@users.noreply.github.com>
Mon, 30 Jan 2023 08:53:21 +0000 (11:53 +0300)
committerEduardo San Martin Morote <posva@users.noreply.github.com>
Wed, 15 Feb 2023 08:52:45 +0000 (09:52 +0100)
packages/docs/guide/essentials/nested-routes.md

index 6bd747d78f5e68345d312ce65fc6c9deb66bf54d..baeafbc0b0bada6d51f1acab0cb2a2a05092d846 100644 (file)
@@ -5,7 +5,7 @@
   title="Learn about nested routes"
 />
 
-Some application's UIs are composed of components that are nested multiple levels deep. In this case, it is very common that the segments of a URL corresponds to a certain structure of nested components, for example:
+Some applications' UIs are composed of components that are nested multiple levels deep. In this case, it is very common that the segments of a URL correspond to a certain structure of nested components, for example:
 
 ```
 /user/johnny/profile                     /user/johnny/posts
@@ -75,9 +75,9 @@ const routes = [
 ]
 ```
 
-**Note that nested paths that start with `/` will be treated as a root path. This allows you to leverage the component nesting without having to use a nested URL.**
+**Note that nested paths that start with `/` will be treated as root paths. This allows you to leverage the component nesting without having to use a nested URL.**
 
-As you can see the `children` option is just another Array of routes like `routes` itself. Therefore, you can keep nesting views as much as you need.
+As you can see, the `children` option is just another Array of routes like `routes` itself. Therefore, you can keep nesting views as much as you need.
 
 At this point, with the above configuration, when you visit `/user/eduardo`, nothing will be rendered inside `User`'s `router-view`, because no nested route is matched. Maybe you do want to render something there. In such case you can provide an empty nested path: