s0f44589ws that starts to work s6df44a1first video sdacb6cdclick to time s7831ae4remove tauri s2d18c9bconcurrently and frontmatter sdc43284add new video and test s0dd03affix for youtube format and markdown compat sc30fa38remove placeholder mds s d8f1a54 remove images from git
20 lines
497 B
TypeScript
20 lines
497 B
TypeScript
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);
|
|
},
|
|
} satisfies Theme;
|