📝 add VitePress site and deployment workflow

This commit is contained in:
Nanaloveyuki
2026-06-14 16:00:00 +08:00
parent 265cd69ea9
commit 637962a934
15 changed files with 5528 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
import DefaultTheme from 'vitepress/theme'
import type { Theme } from 'vitepress'
import ApiOverview from './components/ApiOverview.vue'
import HomeDocHub from './components/HomeDocHub.vue'
import './custom.css'
const theme: Theme = {
extends: DefaultTheme,
enhanceApp({ app }) {
app.component('ApiOverview', ApiOverview)
app.component('HomeDocHub', HomeDocHub)
},
}
export default theme