chore: add vitepress doc custom theme

This commit is contained in:
Relakkes
2024-09-26 15:38:18 +08:00
parent 4e10e65216
commit 340926bcd3
4 changed files with 117 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<!--.vitepress/theme/MyLayout.vue-->
<script setup>
import DefaultTheme from 'vitepress/theme'
import DynamicAds from './DynamicAds.vue'
const { Layout } = DefaultTheme
</script>
<template>
<Layout>
<template #aside-bottom>
<DynamicAds />
</template>
</Layout>
</template>