File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,25 @@ module.exports = {
48
48
}
49
49
```
50
50
51
+ The item in ` themeConfig.nav ` could also be a dropdown menu:
52
+
53
+ ``` js
54
+ module .exports = {
55
+ themeConfig: {
56
+ nav: [
57
+ {
58
+ text: ' Languages' ,
59
+ type: ' dropdown' ,
60
+ items: [
61
+ { text: ' Chinese' , link: ' /language/chinese' },
62
+ { text: ' Japanese' , link: ' /language/japanese' }
63
+ ]
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ ```
69
+
51
70
## Sidebar
52
71
53
72
To enable the sidebar, use ` themeConfig.sidebar ` . The basic configuration expects an Array of links:
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ Each markdown file is compiled into HTML with [markdown-it](https://github.com/m
30
30
31
31
VuePress is still a work in progress. There are a few things that it currently does not support but are planned:
32
32
33
- - Dropdown Items in Navbar
34
33
- Multi-Language Support
35
34
- Algolia DocSearch Integration
36
35
- Blogging support
You can’t perform that action at this time.
0 commit comments