Skip to content

Powerfully flexible XML Sitemaps that integrate seamlessly, for Nuxt.

Notifications You must be signed in to change notification settings

jpengelbrecht/nuxt-simple-sitemap

 
 

Repository files navigation

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

About

Powerfully flexible XML Sitemaps that integrate seamlessly, for Nuxt.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 92.5%
  • Vue 7.5%