feat: add download components
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user