mirror of
https://github.com/certd/certd.git
synced 2026-04-30 17:37:24 +08:00
perf: 增加文档站 https://certd.docmirror.cn
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// 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
|
||||
Reference in New Issue
Block a user