docs: 增加右下角导航;

调整identity显示级别
This commit is contained in:
wintel
2025-04-26 15:04:49 +08:00
parent 107e297e01
commit 89fe623a72
3 changed files with 114 additions and 20 deletions

View File

@@ -1,4 +1,13 @@
/*
* @Author: yubaolee <yubaolee@163.com> | ahfu~ <954478625@qq.com>
* @Date: 2025-04-23 23:37:29
* @LastEditTime: 2025-04-26 15:00:36
* @Description:
* Copyright (c) 2025 by yubaolee | ahfu~ , All Rights Reserved.
*/
import { defineClientConfig } from 'vuepress/client'
import { h } from 'vue'
import { Layout } from 'vuepress-theme-plume/client'
// import RepoCard from 'vuepress-theme-plume/features/RepoCard.vue'
// import NpmBadge from 'vuepress-theme-plume/features/NpmBadge.vue'
// import NpmBadgeGroup from 'vuepress-theme-plume/features/NpmBadgeGroup.vue'
@@ -7,16 +16,16 @@ import { defineClientConfig } from 'vuepress/client'
// import CustomComponent from './theme/components/Custom.vue'
// import './theme/styles/custom.css'
import AsideNav from './theme/components/AsideNav.vue'
export default defineClientConfig({
enhance({ app }) {
// built-in components
// app.component('RepoCard', RepoCard)
// app.component('NpmBadge', NpmBadge)
// app.component('NpmBadgeGroup', NpmBadgeGroup)
// app.component('Swiper', Swiper) // you should install `swiper`
// your custom components
// app.component('CustomComponent', CustomComponent)
setup() {
// setupThemeColors()
},
layouts: {
Layout: h(Layout, null, {
'aside-outline-after': () => h(AsideNav),
}),
},
})