N
Nuxt3mo ago
Alex

asRobotsCollection vs asSitemapCollection

should I use asRobotsCollection and asSitemapCollection together?
2 Replies
kapa.ai
kapa.ai3mo ago
Hi @Alex. 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 don’t mention asRobotsCollection or asSitemapCollection, so I can’t confirm what they do or whether they should be used together. The docs we have cover Nuxt Content collections, prerendering, sitemap generation basics, and SEO composables, but not these specific helpers or options (e.g., they’re not in the Nuxt Content or Nuxt 4 docs cited above). If these are utilities from a module (likely Nuxt SEO/Sitemap/Robots), please refer to that module’s documentation. For example, dynamic URLs and integrations for sitemaps are documented in the Nuxt SEO/Sitemap guides, which are referenced in the Stack Overflow answer about dynamic pages and sitemaps (see “dynamic URLs” and “Nuxt Content integration”) (nuxt-sitemap does not find pre-rendered pages). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai3mo ago
<@822057189556486186> Kapa.ai is still learning and improving, please let me know how I did by reacting below.

Did you find this page helpful?