homepage video
This commit is contained in:
@@ -3,12 +3,14 @@ import { h } from 'vue'
|
||||
import type { Theme } from 'vitepress'
|
||||
import DefaultTheme from 'vitepress/theme-without-fonts' // WITHOUT fonts
|
||||
import './style.css'
|
||||
import HeroVideo from "./HeroVideo.vue";
|
||||
|
||||
export default {
|
||||
extends: DefaultTheme,
|
||||
Layout: () => {
|
||||
return h(DefaultTheme.Layout, null, {
|
||||
// https://vitepress.dev/guide/extending-default-theme#layout-slots
|
||||
'home-hero-info-after': () => h(HeroVideo),
|
||||
})
|
||||
},
|
||||
enhanceApp({ app, router, siteData }) {
|
||||
|
||||
Reference in New Issue
Block a user