Skip to content

Instantly share code, notes, and snippets.

@c0depanda c0depanda/config2.js Secret
Created Apr 23, 2018

Embed
What would you like to do?
module.exports = {
themeConfig: {
nav: [
// Normal Links
{ text: 'Guide', link: '/guide/' },
{ text: 'External', link: 'https://google.com' },
// Links with dropdown
{
text: 'Languages',
items: [
{ text: 'Chinese', link: '/language/chinese' },
{ text: 'Japanese', link: '/language/japanese' }
]
},
// Grouped Items inside dropdown
{
text: 'Languages',
items: [
{
text: 'Group1',
items: [
{ text: 'Chinese', link: '/language/chinese' },
{ text: 'Japanese', link: '/language/japanese' }
]
},
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.