Files
SiMengWebSite_Notes/docs/.vuepress/config.ts
2025-09-24 00:02:33 -04:00

55 lines
1.2 KiB
TypeScript

import { defineUserConfig } from 'vuepress'
import { plumeTheme } from 'vuepress-theme-plume'
import { viteBundler } from '@vuepress/bundler-vite'
export default defineUserConfig({
base: '/',
lang: 'zh-CN',
title: '祀梦的花园',
description: '爱与回忆的小世界,记录生活中的每一份温暖与感动',
head: [
// 配置站点图标
['link', { rel: 'icon', type: 'image/png', href: 'https://theme-plume.vuejs.press/favicon-32x32.png' }],
],
bundler: viteBundler(),
shouldPrefetch: false, // 站点较大,页面数量较多时,不建议启用
theme: plumeTheme({
/* 博客文章页面链接前缀 */
article: '/article/',
/**
* 编译缓存,加快编译速度
*/
cache: 'filesystem',
/* 本地搜索, 默认启用 */
search: { provider: 'local' },
/**
* 文章贡献者配置
*/
// 修改contributors配置
contributors: {
mode: 'inline',
info: [
{
username: 'si-meng-spec',
name: 'si-meng-spec',
alias: ['si-meng-spec'],
}
]
},
/**
* Git插件配置
* 设置为true以在开发环境也启用
*/
plugins: {
git: true
}
}),
})