fix: use extends in template custom theme (#2500)

pull/2504/head
Divyansh Singh 1 year ago committed by GitHub
parent d2dba3d772
commit 7e39e02185
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,7 +13,7 @@ import Theme from 'vitepress/theme'
import './style.css'
export default {
...Theme,
extends: Theme,
Layout: () => {
return h(Theme.Layout, null, {
// https://vitepress.dev/guide/extending-default-theme#layout-slots

Loading…
Cancel
Save