From: de-oz <101826623+de-oz@users.noreply.github.com> Date: Mon, 30 Jan 2023 08:53:21 +0000 (+0300) Subject: docs: fix grammatical mistakes (#1676) X-Git-Tag: v4.2.0~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3073baebfdb2aa89f4dbcf5670b880bfe2c3a07b;p=thirdparty%2Fvuejs%2Frouter.git docs: fix grammatical mistakes (#1676) --- diff --git a/packages/docs/guide/essentials/nested-routes.md b/packages/docs/guide/essentials/nested-routes.md index 6bd747d7..baeafbc0 100644 --- a/packages/docs/guide/essentials/nested-routes.md +++ b/packages/docs/guide/essentials/nested-routes.md @@ -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: