@gearbox-built/sanity-admin-message
v0.1.0
Published
Displays a message in the admin in a content block
Downloads
123
Readme
@gearbox-built/sanity-admin-message
This is a Sanity Studio v3 plugin.
Installation
npm install @gearbox-built/sanity-admin-message
Usage
Add it as a plugin in sanity.config.ts
(or .js):
import {defineConfig} from 'sanity'
import {myPlugin} from '@gearbox-built/sanity-admin-message'
export default defineConfig({
//...
plugins: [myPlugin({})],
})
License
MIT © Gearbox Built
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.