]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: use UTF-8 box drawing characters (#2201)
authorKerrick Long <me@kerricklong.com>
Sun, 14 Apr 2024 12:43:15 +0000 (07:43 -0500)
committerGitHub <noreply@github.com>
Sun, 14 Apr 2024 12:43:15 +0000 (14:43 +0200)
Use UTF-8 box drawing characters

packages/docs/guide/essentials/nested-routes.md

index ba2f490efcf1508ee436f52befada30c234c2749..2525411a58587bc84efe520c19d8cbdd8751bca4 100644 (file)
@@ -8,14 +8,14 @@
 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
-+------------------+                  +-----------------+
-| User             |                  | User            |
-| +--------------+ |                  | +-------------+ |
-| | Profile      | |  +------------>  | | Posts       | |
-| |              | |                  | |             | |
-| +--------------+ |                  | +-------------+ |
-+------------------+                  +-----------------+
+/user/johnny/profile                   /user/johnny/posts 
+┌──────────────────┐                  ┌──────────────────┐
+│ User             │                  │ User             │
+│ ┌──────────────┐ │                  │ ┌──────────────┐ │
+│ │ Profile      │ │  ●────────────▶  │ │ Posts        │ │
+│ │              │ │                  │ │              │ │
+│ └──────────────┘ │                  │ └──────────────┘ │
+└──────────────────┘                  └──────────────────┘
 ```
 
 With Vue Router, you can express this relationship using nested route configurations.