harlan-zw / nuxt-simple-sitemap

Powerfully flexible XML Sitemaps that integrate seamlessly, for Nuxt.

Home Page:https://nuxtseo.com/sitemap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nuxt-simple-sitemap

NPM version NPM Downloads GitHub 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

About

Powerfully flexible XML Sitemaps that integrate seamlessly, for Nuxt.

https://nuxtseo.com/sitemap


Languages

Language:TypeScript 93.6%Language:Vue 6.3%Language:JavaScript 0.0%