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 |
- 🌴 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
💡 Need a more complete SEO solution for Nuxt? This module is included as part of Nuxt SEO.
- 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
- Add it to your
modules
section in yournuxt.config
:
export default defineNuxtConfig({
modules: ['nuxt-simple-sitemap']
})
📖 Read the full documentation for more information.
MIT License © 2022-PRESENT Harlan Wilton