1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

feat: 配置首页下划线

This commit is contained in:
程序员小墨 2025-03-14 01:27:16 +08:00
parent d9857e16be
commit ebed1799dc
2 changed files with 9 additions and 1 deletions
docs
.vitepress/theme
index.md

@ -9,6 +9,7 @@ import ArticleInfo from './components/ArticleInfo.vue'
import { FooterData } from '../../home-footbar.mts'
import {
HomeFooter,
HomeUnderline,
ShareButton
} from '@theojs/lumen'
import {
@ -99,5 +100,9 @@ export default {
}
},
} as Options)
// [配置] 首页下划线
// docs: https://lumen.theojs.cn/guide/homeunderline
app.component('Home', HomeUnderline)
}
} satisfies Theme

@ -4,7 +4,8 @@ layout: home
hero:
name: "就这么弄"
text: "简单步骤与实用技巧"
text: "简单步骤"
textsuffix: "与实用技巧"
image:
src: /assets/logo.svg
alt: VitePress
@ -30,6 +31,8 @@ hero:
# details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
---
<Home />
::: warning 🚧 施工中
很高兴见到你!但很抱歉,这个项目还在施工中。