Nuxt Sitemap is a module for generating best-practice XML sitemaps that are consumed by the robots crawling your site.
New to XML sitemaps or SEO? Check out the Controlling Web Crawlers guide to learn more about why you might need these.
Made possible by my Sponsor Program 💖 Follow me @harlan_zw 🐦 • Join Discord for help |
- 🌴 Single
/sitemap.xml
or multiple/posts-sitemap.xml
,/pages-sitemap.xml
- 📊 Fetch your sitemap URLs from anywhere
- 😌 Automatic
lastmod
, image discovery and best practice sitemaps - 🔄 SWR caching, route rules support
- 🎨 Debug using the Nuxt DevTools integration or the XML Stylesheet
- 🤝 Integrates seamlessly with Nuxt I18n and Nuxt Content
💡 Using Nuxt 2? Use the nuxt-community/sitemap-module docs.
Install @nuxtjs/sitemap
dependency to your project:
npx nuxi@latest module add sitemap
💡 Need a complete SEO solution for Nuxt? Check out Nuxt SEO.
📖 Read the full documentation for more information.
Licensed under the MIT license.