重构:拆分配置文件
This commit is contained in:
5
repos/.vitepress/theme/custom.css
Normal file
5
repos/.vitepress/theme/custom.css
Normal file
@@ -0,0 +1,5 @@
|
||||
.vp-doc h2 {
|
||||
margin: 15px 0 16px;
|
||||
padding-top: 10px;
|
||||
border-top: none;
|
||||
}
|
9
repos/.vitepress/theme/index.ts
Normal file
9
repos/.vitepress/theme/index.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import DefaultTheme from 'vitepress/theme'
|
||||
import './custom.css'
|
||||
|
||||
export default {
|
||||
...DefaultTheme,
|
||||
enhanceApp({ app }) {
|
||||
// register global components
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user