升级:将 VitePress 版本升级为 v1.0.0-alpha.27(删除自定义 Badge 组件更换为官方全局组件,调整 cleanUrls 配置)
This commit is contained in:
@@ -6,6 +6,11 @@ import './styles/custom.css'
|
||||
export default {
|
||||
...DefaultTheme,
|
||||
Layout: MyLayout,
|
||||
enhanceApp({ app }) {
|
||||
enhanceApp(ctx) {
|
||||
// extend default theme custom behaviour.
|
||||
DefaultTheme.enhanceApp(ctx)
|
||||
|
||||
// register your custom global components
|
||||
// ctx.app.component('MyGlobalComponent' /* ... */)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user