Skip to content

Commit c07e1c2

Browse files
committed
fix warn
1 parent 7cb4b26 commit c07e1c2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/content.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { defineCollection } from "astro:content";
2+
import { glob } from "astro/loaders";
3+
4+
// 空的内容集合配置,用于消除 "Content config not loaded" 警告
5+
// 如果将来需要使用内容集合,可以在这里添加配置
6+
export const collections = {};

0 commit comments

Comments
 (0)