We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0c09c7 commit 6d8d3d0Copy full SHA for 6d8d3d0
src/.vitepress/theme/index.ts
@@ -5,8 +5,7 @@ import { preferComposition, preferSFC } from './components/preferences'
5
import './styles/inline-demo.css'
6
import './styles/options-boxes.css'
7
8
-export default {
9
- ...VPTheme,
+export default Object.assign({}, VPTheme, {
10
Layout: () => {
11
return h(VPTheme.Layout, null, {
12
'sidebar-top': () => h(PreferenceSwitch)
@@ -17,4 +16,4 @@ export default {
17
16
app.provide('prefer-composition', preferComposition)
18
app.provide('prefer-sfc', preferSFC)
19
}
20
-}
+})
0 commit comments