feat: add download components

This commit is contained in:
camera-2018
2023-07-01 23:38:02 +08:00
parent d084dd90df
commit 08fa485f6f
4 changed files with 45 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
import { h, watch } from 'vue'
// import Theme from 'vitepress/theme'
import DefaultTheme from 'vitepress/theme-without-fonts'
import Download from '../../components/Download.vue'
import './style.css'
import './rainbow.css'
@@ -16,6 +17,7 @@ export default {
},
enhanceApp(ctx) {
DefaultTheme.enhanceApp(ctx)
ctx.app.component('Download', Download)
if (typeof window === 'undefined')
return