Socket
Socket
Sign inDemoInstall

@nuxtjs/sitemap

Package Overview
Dependencies
19
Maintainers
8
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nuxtjs/sitemap

Powerfully flexible XML Sitemaps that integrate seamlessly, for Nuxt.


Version published
Weekly downloads
67K
decreased by-17.34%
Maintainers
8
Created
Weekly downloads
 

Readme

Source

@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 @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 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

License

MIT License © 2022-PRESENT Harlan Wilton

FAQs

Last updated on 09 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc