Skip to content

Commit 653c73a

Browse files
Justineochrisvfritz
authored andcommitted
Better directory tree (#1286)
1 parent d7b19b9 commit 653c73a

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

β€Žsrc/v2/guide/instance.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ A Vue application consists of a **root Vue instance** created with `new Vue`, op
2222

2323
```
2424
Root Instance
25-
|- TodoList
26-
|- TodoItem
27-
|- DeleteTodoButton
28-
|- EditTodoButton
29-
|- TodoListFooter
30-
|- ClearTodosButton
31-
|- TodoListStatistics
25+
└─ TodoList
26+
β”œβ”€ TodoItem
27+
β”‚ β”œβ”€ DeleteTodoButton
28+
β”‚ └─ EditTodoButton
29+
└─ TodoListFooter
30+
β”œβ”€ ClearTodosButton
31+
└─ TodoListStatistics
3232
```
3333

3434
We'll talk about [the component system](components.html) in detail later. For now, just know that all Vue components are also Vue instances, and so accept the same options object (except for a few root-specific options).

β€Žsrc/v2/guide/migration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -796,9 +796,9 @@ For example, let's say we have a todo app structured like this:
796796

797797
```
798798
Todos
799-
|-- NewTodoInput
800-
|-- Todo
801-
|-- DeleteTodoButton
799+
β”œβ”€ NewTodoInput
800+
└─ Todo
801+
└─ DeleteTodoButton
802802
```
803803

804804
We could manage communication between components with this single event hub:

0 commit comments

Comments
Β (0)