New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@adoratorio/nuxt-sitemap-generator

Package Overview
Dependencies
Maintainers
4
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adoratorio/nuxt-sitemap-generator

A custom sitemap generator for Nuxt during prerender

  • 0.1.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-50%
Maintainers
4
Weekly downloads
 
Created
Source

Nuxt Sitemap Generator

nuxt-sitemap-generator

A custom nuxt module to generate XML sitemaps based on a list of routes

Install the package with npm

npm i @adoratorio/nuxt-sitemap-generator

Then extend add the module to your nuxt.config.ts and add a configuration object for sitemap

// nuxt.config.ts
export default defineNuxtConfig({
  modules: ['@adoratorio/nuxt-sitemap-generator'],
  // ...
  sitemap: {
    hostname: 'https://my-website.demo.com', // Full hostname
    routes: [
      // ... list of routes like '/', '/page'
    ],
    path: '/sitemap.xml' // The relative path to the sitemap file
  }
})

FAQs

Package last updated on 04 May 2023

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc