We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e8ad66 commit 967fe17Copy full SHA for 967fe17
2 files changed
astro.config.mjs
@@ -48,7 +48,7 @@ export default defineConfig({
48
containers: ["main"],
49
smoothScrolling: false, // 禁用平滑滚动以提升性能,避免与锚点导航冲突
50
cache: true,
51
- preload: true, // swup 默认鼠标悬停预加载
+ preload: false, // 禁用预加载以提升性能
52
accessibility: true,
53
updateHead: process.env.NODE_ENV === "production",
54
updateBodyClass: false,
src/config.ts
@@ -675,7 +675,7 @@ export const sakuraConfig: SakuraConfig = {
675
676
// Pio 看板娘配置
677
export const pioConfig: import("./types/config").PioConfig = {
678
- enable: true, // 启用看板娘
+ enable: false, // 禁用看板娘以提升性能
679
models: ["/pio/models/pio/model.json"], // 默认模型路径
680
position: "left", // 模型位置
681
width: 280, // 默认宽度
0 commit comments