mirror of
https://github.com/certd/certd.git
synced 2026-04-03 14:10:54 +08:00
19 lines
496 B
TypeScript
19 lines
496 B
TypeScript
// https://vitepress.dev/guide/custom-theme
|
|
// import { h } from 'vue'
|
|
import type { Theme } from 'vitepress'
|
|
import DefaultTheme from 'vitepress/theme'
|
|
import './style.css'
|
|
import Layout from './Layout.vue'
|
|
export default {
|
|
extends: DefaultTheme,
|
|
Layout,
|
|
// Layout: () => {
|
|
// return h(DefaultTheme.Layout, null, {
|
|
// // https://vitepress.dev/guide/extending-default-theme#layout-slots
|
|
// })
|
|
// },
|
|
enhanceApp({ app, router, siteData }) {
|
|
// ...
|
|
}
|
|
} satisfies Theme
|