vitepress-theme-you
v0.1.0-alpha.1
Published
🎮 你的新文档主题
Downloads
79
Readme
vitepress-theme-you
🎮 你的下一个文档主题(开发中) Can not work well yet, do not use it.
- Preview: you.yunyoujun.cn
Usage
pnpm i vitepress
More info see vitepress. Base on theme-default | vitepress.
Config .vitepress/config.ts
:
import baseConfig from 'vitepress-theme-you/config'
export default {
extends: baseConfig,
// ...
}
Config .vitepress/theme/index.ts
:
import type { Theme } from 'vitepress'
import { VPTheme } from 'vitepress-theme-you'
import 'uno.css'
const theme: Theme = Object.assign({}, VPTheme, {
enhanceApp: ({ app }) => {
// ...
},
})
export default theme