1
0

chore: 修改 markdown-it 配置,启用图片懒加载

This commit is contained in:
2025-10-09 08:39:25 +08:00
parent 3e67c0340e
commit 724e9a443d

View File

@@ -58,6 +58,13 @@ export default defineConfig({
hostname: 'https://blog.frost-zx.top',
},
// markdown-it 配置
markdown: {
image: {
lazyLoading: true,
}
},
// Vite 配置
vite: {
build: {