From 2fc6ea5064031274a7f9e293e507768bc14ec8d4 Mon Sep 17 00:00:00 2001 From: Hao Chen Date: Sat, 1 Nov 2025 21:46:44 +0800 Subject: [PATCH] fix(cli): corrects function call for defining multiple collections (#748) --- cli/templates/.vuepress/collections.ts.handlebars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/templates/.vuepress/collections.ts.handlebars b/cli/templates/.vuepress/collections.ts.handlebars index e2df950c..0264748b 100644 --- a/cli/templates/.vuepress/collections.ts.handlebars +++ b/cli/templates/.vuepress/collections.ts.handlebars @@ -117,7 +117,7 @@ const demoDoc = defineCollection({ * (blog 为博客示例,如果不需要博客功能,请删除) * (demoDoc 为参考示例,如果不需要它,请删除) */ -export default defineCollection([ +export default defineCollections([ blog, demoDoc, ])