@nuxtjs/sitemap
Powerfully flexible XML Sitemaps that integrate seamlessly, for Nuxt. Previously nuxt-simple-sitemap.
Features
- 🌴 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
Installation
💡 Need a complete SEO solution for Nuxt? Check out Nuxt SEO.
💡 Using Nuxt 2? Use the nuxt-community/sitemap-module docs.
Install @nuxtjs/sitemap
dependency to your project:
npx nuxi@latest module add sitemap
Documentation
📖 Read the full documentation for more information.
StackBlitz Demos / Reproductions
License
MIT License © 2022-PRESENT Harlan Wilton