Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Automatically generate or serve dynamic sitemap.xml for Nuxt 2 projects.
Sitemap Module for Nuxt 2 is an open-source Nuxt module that automatically generates or serves a dynamic sitemap.xml file for Nuxt 2 projects, maintained by the Nuxt community.
Sitemap Module for Nuxt 2 is an npm package published as @nuxtjs/sitemap, built to add XML sitemap capabilities to Nuxt 2 applications. It accepts your Nuxt application's routes and outputs a sitemap.xml file that follows the Sitemaps protocol. The module can generate the sitemap at build time or serve it dynamically at runtime. It is authored by Nicolas Pennec and Pooya Parsa and is released under the MIT License, with documentation hosted at sitemap.nuxtjs.org.
Yes, the module is open source under the MIT License, meaning it is free to use in both personal and commercial projects.
No. The 2.x version is explicitly for Nuxt 2. If you are using Nuxt 3, the project has moved to the nuxt-modules/sitemap repository.
The package is available on npm as @nuxtjs/sitemap. The readme links to sitemap.nuxtjs.org for detailed setup instructions.
It outputs a sitemap.xml file conforming to the Sitemaps protocol defined at sitemaps.org/protocol.html, containing the routes of your Nuxt 2 app.
