Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2fc6ea5

Browse files
authored
fix(cli): corrects function call for defining multiple collections (#748)
1 parent aa8e774 commit 2fc6ea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/templates/.vuepress/collections.ts.handlebars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const demoDoc = defineCollection({
117117
* (blog 为博客示例,如果不需要博客功能,请删除)
118118
* (demoDoc 为参考示例,如果不需要它,请删除)
119119
*/
120-
export default defineCollection([
120+
export default defineCollections([
121121
blog,
122122
demoDoc,
123123
])

0 commit comments

Comments
 (0)