From 7e39e02185f5b18da09b01bd4c132a8b50e15b07 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Mon, 12 Jun 2023 21:49:08 +0530 Subject: [PATCH] fix: use extends in template custom theme (#2500) --- template/.vitepress/theme/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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