@dotdev/sanity-plugin-redirects-importer

1.2.0 • Public • Published

Sanity Plugin Redirects Importer

This package provides a Sanity dashboard widget to bulk import redirects into Sanity.

Installation

yarn add @dotdev/sanity-plugin-redirects-importer
# or
npm i @dotdev/sanity-plugin-redirects-importer --save

Add the plugin to the plugins array in sanity.json.

"plugins": [
  // ...rest of plugins
  "@dotdev/sanity-plugin-redirects-importer"
]

If you have not already, append the following to the parts array in sanity.json.

{
  "implements": "part:@sanity/dashboard/config",
  "path": "dashboardConfig.js"
}

Create the file dashboardConfig.js and include the widget like this.

export default {
  widgets: [
    {
      name: "redirects-importer",
    },
  ],
}

License

MIT © DotDev See LICENSE

Package Sidebar

Install

npm i @dotdev/sanity-plugin-redirects-importer

Weekly Downloads

1

Version

1.2.0

License

UNLICENSED

Unpacked Size

33.7 kB

Total Files

11

Last publish

Collaborators

  • dotdev-richard
  • dotdev-joel
  • dotdev-alex
  • p_tul
  • brendon-dotdev
  • psj
  • 8eecf0d2
  • oscarstranger
  • dotdev-bo
  • dotdev-support
  • dotdev-eric