Skip to content

Commit 940ce3a

Browse files
committed
update docs
1 parent fce0084 commit 940ce3a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

docs/.vuepress/client.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import { defineClientConfig } from 'vuepress/client'
33
import { h } from 'vue';
44
// @ts-ignore
55
import { NotFound } from "vuepress-theme-plume/client";
6+
// @ts-ignore
7+
import PageContextMenu from 'vuepress-theme-plume/features/PageContextMenu.vue'
68

79
// @ts-ignore
810
import Swiper from 'vuepress-theme-plume/features/Swiper.vue'
@@ -27,7 +29,9 @@ export default defineClientConfig({
2729
app.component('Swiper', Swiper)
2830
},
2931
layouts: {
30-
Layout,
32+
Layout: h(Layout, null, {
33+
'doc-title-after': () => h(PageContextMenu),
34+
}),
3135
NotFound: () => h(NotFound, null, {
3236
'layout-top': () => h(BannerTop),
3337
}),

0 commit comments

Comments
 (0)