mirror of
https://github.com/NanmiCoder/MediaCrawler.git
synced 2026-10-07 06:58:11 +08:00
chore: add vitepress doc custom theme
This commit is contained in:
@@ -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