Skip to content

Commit

Permalink
Update config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
1985312383 committed Feb 7, 2024
1 parent 5860cff commit c878525
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,24 @@ import { defineUserConfig } from 'vuepress'
export default defineUserConfig({
bundler: viteBundler(),
theme: defaultTheme(),
base: '/RecommendSystemNotes/',
themeConfig: {
// 添加导航栏
nav: [
{ text: 'vue', link: '/' },
{ text: 'css', link: '/blog/' },
{ text: 'js', link: '/zhihu/' },
{
text: 'github',
// 这里是下拉列表展现形式。
items: [
{ text: 'focus-outside', link: 'https://github.com/txs1992/focus-outside' },
{ text: 'stylus-converter', link: 'https://github.com/txs1992/stylus-converter' }
]
}
],
// 为以下路由添加侧边栏
sidebar: ['/', '/git', '/vue']
},
})

0 comments on commit c878525

Please sign in to comment.