feat: 配置首页下划线
This commit is contained in:
parent
d9857e16be
commit
ebed1799dc
@ -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 🚧 施工中
|
||||
|
||||
很高兴见到你!但很抱歉,这个项目还在施工中。
|
||||
|
Loading…
x
Reference in New Issue
Block a user