/plugin-template-tool

Plugin template for a basic, empty tool

Primary LanguageJavaScriptMIT LicenseMIT

plugin-template-tool

Plugin template for a basic, empty tool.

Main take-aways

  • Tools implement the part named part:@sanity/base/tool
  • The file that implements the tool part needs to export an object containing properties such as a name, title, icon and React component to render. See template/index.js.

Usage

sanity init plugin https://github.com/sanity-io/plugin-template-tool/archive/master.zip

License

MIT-licensed. See LICENSE.