feat: 新的全局组件bili
This commit is contained in:
@@ -3,6 +3,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 Bilibili from '../../components/Bilibili.vue'
|
||||
import './style.css'
|
||||
import './rainbow.css'
|
||||
|
||||
@@ -18,6 +19,7 @@ export default {
|
||||
enhanceApp(ctx) {
|
||||
DefaultTheme.enhanceApp(ctx)
|
||||
ctx.app.component('Download', Download)
|
||||
ctx.app.component('Bilibili', Bilibili)
|
||||
if (typeof window === 'undefined')
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user