/vitepress-theme-you

🎮 A theme for vitepress. Sister of hexo-theme-yun.

Primary LanguageVueMIT LicenseMIT

vitepress-theme-you

🎮 你的下一个文档主题(开发中) Can not work well yet, do not use it.

npm

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

Who use it?