click to time
This commit is contained in:
1 parent
6df44a1dd3
commit
dacb6cd249
5 files changed
+63
-20
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user