feat: 配置首页下划线
This commit is contained in:
@@ -9,6 +9,7 @@ import ArticleInfo from './components/ArticleInfo.vue'
|
|||||||
import { FooterData } from '../../home-footbar.mts'
|
import { FooterData } from '../../home-footbar.mts'
|
||||||
import {
|
import {
|
||||||
HomeFooter,
|
HomeFooter,
|
||||||
|
HomeUnderline,
|
||||||
ShareButton
|
ShareButton
|
||||||
} from '@theojs/lumen'
|
} from '@theojs/lumen'
|
||||||
import {
|
import {
|
||||||
@@ -99,5 +100,9 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
} as Options)
|
} as Options)
|
||||||
|
|
||||||
|
// [配置] 首页下划线
|
||||||
|
// docs: https://lumen.theojs.cn/guide/homeunderline
|
||||||
|
app.component('Home', HomeUnderline)
|
||||||
}
|
}
|
||||||
} satisfies Theme
|
} satisfies Theme
|
||||||
|
@@ -4,7 +4,8 @@ layout: home
|
|||||||
|
|
||||||
hero:
|
hero:
|
||||||
name: "就这么弄"
|
name: "就这么弄"
|
||||||
text: "简单步骤与实用技巧"
|
text: "简单步骤"
|
||||||
|
textsuffix: "与实用技巧"
|
||||||
image:
|
image:
|
||||||
src: /assets/logo.svg
|
src: /assets/logo.svg
|
||||||
alt: VitePress
|
alt: VitePress
|
||||||
@@ -30,6 +31,8 @@ hero:
|
|||||||
# details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
|
# details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
|
||||||
---
|
---
|
||||||
|
|
||||||
|
<Home />
|
||||||
|
|
||||||
::: warning 🚧 施工中
|
::: warning 🚧 施工中
|
||||||
|
|
||||||
很高兴见到你!但很抱歉,这个项目还在施工中。
|
很高兴见到你!但很抱歉,这个项目还在施工中。
|
||||||
|
Reference in New Issue
Block a user