Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 909 Bytes

README.md

File metadata and controls

41 lines (26 loc) · 909 Bytes

Fieldwork

Inspect your Sanity.io schema fields straight in your Studio using this tool

Some use cases

  • See what you've got in preparation for adding new schemas, so you can maximise re-use.

This is a Sanity Studio v3 plugin.

Installation

npm install sanity-plugin-fieldwork

Usage

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

import { defineConfig } from "sanity";
import { fieldwork } from "sanity-plugin-fieldwork";

export default defineConfig({
  //...
  plugins: [fieldwork({})],
});

License

MIT © ahm digital

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.