fix(cli): corrects function call for defining multiple collections (#748)

This commit is contained in:
Hao Chen 2025-11-01 21:46:44 +08:00 committed by GitHub
parent aa8e774a1b
commit 2fc6ea5064
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -117,7 +117,7 @@ const demoDoc = defineCollection({
* (blog 为博客示例,如果不需要博客功能,请删除) * (blog 为博客示例,如果不需要博客功能,请删除)
* (demoDoc 为参考示例,如果不需要它,请删除) * (demoDoc 为参考示例,如果不需要它,请删除)
*/ */
export default defineCollection([ export default defineCollections([
blog, blog,
demoDoc, demoDoc,
]) ])