mirror of
https://github.com/BeamMP/Docs.git
synced 2026-10-27 14:40:27 +00:00
New VitePress and design look + little work on update to work with.
This commit is contained in:
1 parent
0ed2597186
commit
97a7aaf643
141 files changed
+4356
-539
No files matched your search
@@ -0,0 +1,18 @@
|
||||
import type { Theme } from 'vitepress'
|
||||
import DefaultTheme from 'vitepress/theme'
|
||||
import { h } from 'vue'
|
||||
import { enhanceAppWithTabs } from 'vitepress-plugin-tabs/client'
|
||||
import AppFooter from './components/AppFooter.vue'
|
||||
import './custom.css'
|
||||
|
||||
export default {
|
||||
extends: DefaultTheme,
|
||||
Layout: () => {
|
||||
return h(DefaultTheme.Layout, null, {
|
||||
'layout-bottom': () => h(AppFooter)
|
||||
})
|
||||
},
|
||||
enhanceApp({ app }) {
|
||||
enhanceAppWithTabs(app)
|
||||
},
|
||||
} satisfies Theme
|
||||
Reference in new issue
Block a user