click to time

This commit is contained in:
polv committed 2026-01-25 23:05:53 +07:00
1 parent 6df44a1dd3
commit dacb6cd249
5 files changed
+63 -20

No files matched your search

+8
View File
@@ -1,9 +1,17 @@
import type { Theme } from "vitepress";
import DefaultTheme from "vitepress/theme";
import { h } from 'vue'
import Downloader from "./components/Downloader.vue";
import Video from './components/Video.vue'
export default {
extends: DefaultTheme,
Layout() {
return h(DefaultTheme.Layout, null, {
'sidebar-nav-after': () => h(Video)
})
},
enhanceApp({ app }) {
// register your custom global components
app.component("Downloader", Downloader);