1.2.0 • Published 2 years ago

@dotdev/sanity-plugin-redirects-importer v1.2.0

Weekly downloads
-
License
UNLICENSED
Repository
gitlab
Last release
2 years ago

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

1.2.0

2 years ago

1.1.0

3 years ago