Modules

simple-sitemap
simple-sitemap

Powerfully flexible XML Sitemaps that integrate seamlessly.

nuxt-simple-sitemap

NPM versionNPM DownloadsGitHub stars

Powerfully flexible XML Sitemaps that integrate seamlessly, for Nuxt.


Status: v4 Released ๐ŸŽ‰
Please report any issues ๐Ÿ›
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 seamlessly with Nuxt I18n and Nuxt Content

Installation

๐Ÿ’ก Need a more complete SEO solution for Nuxt? This module is included as part of Nuxt SEO.

  1. Install nuxt-simple-sitemap dependency to your project:
#
yarn add -D nuxt-simple-sitemap
#
npm install -D nuxt-simple-sitemap
#
pnpm i -D nuxt-simple-sitemap
  1. Add it to your modules section in your nuxt.config:
export default defineNuxtConfig({
  modules: ['nuxt-simple-sitemap']
})

Documentation

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

StackBlitz Demos / Reproductions

Sponsors

License

MIT License ยฉ 2022-PRESENT Harlan Wilton