@nuxtjs/sitemap

Powerfully flexible XML Sitemaps that integrate seamlessly, for Nuxt.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@nuxtjs/sitemap
252195.1.416 days ago7 years agoMinified + gzip package size for @nuxtjs/sitemap in KB

Readme

@nuxtjs/sitemap

NPM version NPM Downloads GitHub stars


Powerfully flexible XML Sitemaps that integrate seamlessly, for Nuxt. Previously nuxt-simple-sitemap.



Status: v5 Released šŸŽ‰
Please report any issues šŸ›
Made possible by my Sponsor Program šŸ’–
Follow me @harlanzw šŸ¦ ā€¢ 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 complete SEO solution for Nuxt? Check out Nuxt SEO.
šŸ’” Using Nuxt 2? Use the nuxt-community/sitemap-module docs.
  1. Install @nuxtjs/sitemap dependency to your project:

npx nuxi@latest module add sitemap

  1. Add it to your modules section in your nuxt.config:

export default defineNuxtConfig({
  modules: ['@nuxtjs/sitemap']
})
Documentation
šŸ“– Read the full documentation for more information.

StackBlitz Demos / Reproductions

Sponsors

<img src='https://raw.githubusercontent.com/harlan-zw/static/main/sponsors.svg'/>

License

MIT License Ā© 2022-PRESENT Harlan Wilton