@weissearena/sanity-plugin-attribute-matrix
v1.1.0
Published
A Sanity Studio plugin for entering values in a matrix for a cross-product of attributes.
Downloads
4
Readme
sanity-plugin-attribute-matrix
This is a Sanity Studio v3 plugin.
Installation
npm install sanity-plugin-attribute-matrix
Usage
Add it as a plugin in sanity.config.ts
(or .js):
import {defineConfig} from 'sanity'
import {attributeMatrix} from 'sanity-plugin-attribute-matrix'
export default defineConfig({
//...
plugins: [attributeMatrix({})],
})
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.