@mgrzyb/sanity-plugin-sitemap
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

sanity-sitemap

This is a Sanity Studio v3 plugin.

Installation

npm install sanity-sitemap

Usage

Add it as a plugin in sanity.config.ts (or .js):

import {defineConfig} from 'sanity'
import {sanitySitemap} from 'sanity-sitemap'

export default defineConfig({
  //...
  plugins: [sanitySitemap({ pageTypes: ["page", /*...*/]})],
})

License

MIT © Maciej Grzyb

Develop & test

This plugin uses @sanity/plugin-kit with default configuration for build & watch scripts.

See Testing a plugin in Sanity Studio on how to run this plugin with hotreload in the studio.

Readme

Keywords

Package Sidebar

Install

npm i @mgrzyb/sanity-plugin-sitemap

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

119 kB

Total Files

18

Last publish

Collaborators

  • mgrzyb