feat: 构建文档基础框架
This commit is contained in:
@@ -23,6 +23,14 @@ export default defineConfig({
|
||||
|
||||
socialLinks: [
|
||||
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' }
|
||||
]
|
||||
],
|
||||
|
||||
search: {
|
||||
provider: 'local'
|
||||
},
|
||||
|
||||
lastUpdated: {
|
||||
text: '最近更新',
|
||||
},
|
||||
}
|
||||
})
|
||||
|
3
docs/.vitepress/theme/custom.css
Normal file
3
docs/.vitepress/theme/custom.css
Normal file
@@ -0,0 +1,3 @@
|
||||
:root {
|
||||
--vp-sidebar-width: 320px;
|
||||
}
|
@@ -3,6 +3,7 @@ import { h } from 'vue'
|
||||
import type { Theme } from 'vitepress'
|
||||
import DefaultTheme from 'vitepress/theme'
|
||||
import './style.css'
|
||||
import './custom.css'
|
||||
|
||||
export default {
|
||||
extends: DefaultTheme,
|
||||
|
Reference in New Issue
Block a user