mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
31 lines
592 B
TypeScript
31 lines
592 B
TypeScript
import type { ThemeCollectionItem } from 'vuepress-theme-plume'
|
|
import { defineCollection } from 'vuepress-theme-plume'
|
|
|
|
export const themeConfig: ThemeCollectionItem = defineCollection({
|
|
type: 'doc',
|
|
dir: 'config',
|
|
title: 'Config',
|
|
linkPrefix: '/config/',
|
|
sidebar: [
|
|
{
|
|
text: 'Config',
|
|
collapsed: false,
|
|
items: [
|
|
'intro',
|
|
'basic',
|
|
'locales',
|
|
'notes',
|
|
],
|
|
},
|
|
{
|
|
text: 'frontmatter',
|
|
prefix: 'frontmatter',
|
|
collapsed: false,
|
|
items: [
|
|
'basic',
|
|
'article',
|
|
],
|
|
},
|
|
],
|
|
})
|