chore: 修改 markdown-it 配置,启用图片懒加载
This commit is contained in:
@@ -58,6 +58,13 @@ export default defineConfig({
|
|||||||
hostname: 'https://blog.frost-zx.top',
|
hostname: 'https://blog.frost-zx.top',
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// markdown-it 配置
|
||||||
|
markdown: {
|
||||||
|
image: {
|
||||||
|
lazyLoading: true,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
// Vite 配置
|
// Vite 配置
|
||||||
vite: {
|
vite: {
|
||||||
build: {
|
build: {
|
||||||
|
Reference in New Issue
Block a user