Skip to content

Commit

Permalink
fix: use extends in template custom theme (#2500)
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Jun 12, 2023
1 parent d2dba3d commit 7e39e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/.vitepress/theme/index.js
Expand Up @@ -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
Expand Down

0 comments on commit 7e39e02

Please sign in to comment.