feat: 思源黑和noto mono
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
// https://vitepress.dev/guide/custom-theme
|
||||
import { h } from 'vue'
|
||||
import Theme from 'vitepress/theme'
|
||||
// import Theme from 'vitepress/theme'
|
||||
import DefaultTheme from 'vitepress/theme-without-fonts'
|
||||
import './style.css'
|
||||
|
||||
export default {
|
||||
...Theme,
|
||||
...DefaultTheme,
|
||||
Layout: () => {
|
||||
return h(Theme.Layout, null, {
|
||||
return h(DefaultTheme.Layout, null, {
|
||||
// https://vitepress.dev/guide/extending-default-theme#layout-slots
|
||||
})
|
||||
},
|
||||
@@ -14,3 +15,6 @@ export default {
|
||||
// ...
|
||||
}
|
||||
}
|
||||
// export default {
|
||||
// ...DefaultTheme,
|
||||
// }
|
||||
Reference in New Issue
Block a user