sitemap
@nuxtjs/sitemap

Powerfully flexible XML Sitemaps that integrate seamlessly.

Nuxt SEO @nuxtjs/sitemap

npm version npm downloads License Nuxt Skill repository on skilld.dev

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

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 smoothly with Nuxt I18n and Nuxt Content

Installation

๐Ÿ’ก Using Nuxt 2? Use the nuxt-community/sitemap-module docs.

Install @nuxtjs/sitemap dependency to your project:

npx nuxt module add sitemap
Using an AI agent? Get the @nuxtjs/sitemap Skill on skilld.dev/gh/nuxt-modules/sitemap.

๐Ÿ’ก Generated your sitemap? Check which URLs Google has indexed with the free Sitemap Validator, or monitor indexing continuously with Nuxt SEO Pro.

Documentation

๐Ÿ“– Read the full documentation for more information.

Demos

Sponsors

Sponsors

License

Licensed under the MIT license.