mirror of
https://github.com/NanmiCoder/MediaCrawler.git
synced 2026-06-09 19:37:25 +08:00
chore: add vitepress doc custom theme
This commit is contained in:
9
docs/.vitepress/theme/index.js
Normal file
9
docs/.vitepress/theme/index.js
Normal file
@@ -0,0 +1,9 @@
|
||||
// .vitepress/theme/index.js
|
||||
import DefaultTheme from 'vitepress/theme'
|
||||
import MyLayout from './MyLayout.vue'
|
||||
|
||||
export default {
|
||||
extends: DefaultTheme,
|
||||
// 使用注入插槽的包装组件覆盖 Layout
|
||||
Layout: MyLayout
|
||||
}
|
||||
Reference in New Issue
Block a user