社交地址
reco_luan2024-11-03
类型
type SocialLinks = Array<{
link: string
icon: string
}>
案例
提示
设置图标请参考 指南 -> 图标
// .vuepress/config.ts
import { defineUserConfig } from 'vuepress'
import { recoTheme } from 'vuepress-theme-reco'
export default defineUserConfig({
theme: recoTheme({
'socialLinks': [
{ icon: 'IconGitHub', link: 'https://github.com/vuepress-reco/vuepress-theme-reco' }
]
})
})