From f9d22f820ff3f02b5c7db78bfa046a7574f5ee11 Mon Sep 17 00:00:00 2001 From: KyryloNikolaiev 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 2e1028a..8ea44ec 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