This commit is contained in:
polv committed 2026-01-20 18:21:53 +07:00
1 parent c7f4bad142
commit 9fd12d3e74
9 files changed
+787 -9

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
import type { Theme } from "vitepress";
import DefaultTheme from "vitepress/theme";
import Downloader from "./components/Downloader.vue";
import ytParsePlugin from "./plugins/yt-parse";
export default {
extends: DefaultTheme,
enhanceApp({ app }) {
// register your custom global components
app.component("Downloader", Downloader);
app.use(ytParsePlugin);
},
} satisfies Theme;