更新任务
This commit is contained in:
1 parent
120a57ad57
commit
6118a80ac4
279 files changed
+9682
-2362
No files matched your search
@@ -0,0 +1,23 @@
|
||||
// https://vitepress.dev/guide/custom-theme
|
||||
import { h } from 'vue'
|
||||
import Theme from 'vitepress/theme-without-fonts' // https://vitepress.dev/zh/guide/extending-default-theme#using-different-fonts
|
||||
// 引入组件库的少量全局样式变量
|
||||
import 'tdesign-vue-next/es/style/index.css'
|
||||
|
||||
import './style.css'
|
||||
import Comment from './components/Comment.vue'
|
||||
import ImageViewer from './components/ImageViewer.vue'
|
||||
import GoBack from './components/GoBack.vue'
|
||||
|
||||
export default {
|
||||
...Theme,
|
||||
Layout: () => {
|
||||
return h(Theme.Layout, null, {
|
||||
// https://vitepress.dev/guide/extending-default-theme#layout-slots
|
||||
'doc-after': () => h(Comment),
|
||||
'doc-bottom': () => h(ImageViewer),
|
||||
'aside-top': () => h(GoBack),
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user