Inspect your Sanity.io schema fields straight in your Studio using this tool
- See what you've got in preparation for adding new schemas, so you can maximise re-use.
This is a Sanity Studio v3 plugin.
npm install sanity-plugin-fieldwork
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({})],
});
MIT © ahm digital
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.