Skip to content

Commit eed5a9d

Browse files
committed
tree formats
1 parent 88cef50 commit eed5a9d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

β€Ždocs/guide/custom-themes.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ next: ./deploy
77

88
VuePress uses Vue single file components for custom themes. To use a custom layout, create a `.vuepress/theme` directory in your docs root, and then create a `Layout.vue` file:
99

10-
``` bash
10+
```
1111
.
12-
└── .vuepress
13-
Β Β  └── theme
14-
Β Β  Β Β  └── Layout.vue
12+
└─ .vuepress
13+
  └─ theme
14+
Β Β  └─ Layout.vue
1515
```
1616

1717
From there it's the same as developing a normal Vue application. It is entirely up to you how to organize your theme.

β€Ždocs/guide/using-vue.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ Any `*.vue` file found in `.vuepress/components` are automatically registered as
7979

8080
```
8181
.
82-
└── .vuepress
83-
Β Β  └── components
84-
β”œβ”€β”€ demo-1.vue
85-
Β Β  Β Β  └── OtherComponent.vue
82+
└─ .vuepress
83+
  └─ components
84+
β”œβ”€ demo-1.vue
85+
Β Β   └─ OtherComponent.vue
8686
```
8787

8888
Inside any markdown file you can then directly use the components (names are inferred from filenames):

0 commit comments

Comments
Β (0)