Skip to content

Commit

Permalink
docs: use UTF-8 box drawing characters (#2201)
Browse files Browse the repository at this point in the history
Use UTF-8 box drawing characters
  • Loading branch information
Kerrick authored Apr 14, 2024
1 parent 7b6dcae commit 7a7f8db
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/docs/guide/essentials/nested-routes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

1 comment on commit 7a7f8db

@mochou-p
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the vertical lines on the right at line 15 do not align with the rest

Please sign in to comment.