diff --git a/template/.vitepress/theme/index.js b/template/.vitepress/theme/index.js index 2e1028af..8ea44ecb 100644 --- a/template/.vitepress/theme/index.js +++ b/template/.vitepress/theme/index.js @@ -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