first commit.
This commit is contained in:
14
docs/.vitepress/theme/index.ts
Normal file
14
docs/.vitepress/theme/index.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import type { Theme } from "vitepress"
|
||||
import DefaultTheme from "vitepress/theme"
|
||||
import BVideo from "./components/BVideo.vue"
|
||||
import Author from "./components/Author.vue"
|
||||
import CodeEditor from "./components/CodeEditor.vue"
|
||||
|
||||
export default {
|
||||
extends: DefaultTheme,
|
||||
async enhanceApp({ app }) {
|
||||
app.component("bvideo", BVideo)
|
||||
app.component("author", Author)
|
||||
app.component("code-editor", CodeEditor)
|
||||
},
|
||||
} satisfies Theme
|
||||
Reference in New Issue
Block a user