
文档目录
在项目中的.vitepress/config.mjs/sidebar中配置
默认配置
这种配置访问哪个文档都会存在
export default defineConfig({
themeConfig:{
sidebar: [
{
text: 'Examples', //文档目录名称
items: [
{ text: 'Markdown Examples', link: '/markdown-examples' },//text文档名称,link文档路径
{ text: 'Runtime API Examples', link: '/api-examples' }
]
}
],
}
})
小于 1 分钟
