Skip to content

Latest commit

 

History

History
85 lines (62 loc) · 3 KB

README.md

File metadata and controls

85 lines (62 loc) · 3 KB

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.

Demos

Sponsors

License

MIT License © 2022-PRESENT Harlan Wilton