N
Nuxt4w ago
BenG

Nuxt content v3 multiple sources

Can I define multiple source to merge 2 content folder to a single collection?
3 Replies
kapa.ai
kapa.ai4w ago
Hi @BenG. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- I'm sorry, but the knowledge sources provided do not contain information about configuring multiple sources or merging two content folders into a single collection in Nuxt Content v3. There are references to migrating to @nuxt/content v3 and some usage patterns, but nothing specifically addresses multiple content sources or merging folders into a single collection in the current documentation or examples available in the sources above. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai4w ago
<@371347799255547916> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
Sunny @
Sunny @4w ago
Yes, in Nuxt 3 (and Nuxt Content v2), you can merge multiple source folders into a single collection by defining multiple sources in your nuxt.config.ts and using the same collection name (or by querying across sources). However, Nuxt Content doesn't automatically "merge" folders under a single collection name by default — instead, you can achieve this through multiple source directories and querying.

Did you find this page helpful?