Files
SiMengWebSite_Notes/docs/.vuepress/plume.config.ts
祀梦 f50d8ef8c2 chore: 升级 VuePress/Plume 并迁移至 collections 配置
- 将 vuepress 升至 2.0.0-rc.26、vuepress-theme-plume 升至 1.0.0-rc.192

- 用 defineCollections 替代已废弃的 blog + notes,新增 collections.ts 并删除 notes.ts

- 通过 package overrides 将 @vuepress/helper 固定为 rc.123,避免 dev 下 encodeSVG 缺失导致首页白屏

- 新增 .npmrc(legacy-peer-deps)以兼容当前 peer 依赖解析

未包含 docs/.vuepress/dist 等构建产物。

Made-with: Cursor
2026-03-29 10:01:40 +08:00

26 lines
536 B
TypeScript

import { defineThemeConfig } from 'vuepress-theme-plume'
import collections from './collections'
import navbar from './navbar'
export default defineThemeConfig({
logo: '/plume.svg',
appearance: true, // 深色模式
social: [
{ icon: 'github', link: '/' },
],
/**
* @see https://theme-plume.vuejs.press/config/basic/#profile
*/
profile: {
avatar: 'https://image.simengweb.com/elysia/header.jpg',
name: 'SiMengWebSite Notes',
description: '祀梦的笔记网站',
},
navbar,
collections,
})