@sanity/ui-workshop-plugin-sanity
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@sanity/ui-workshop-plugin-sanity

Wrap your UI workshop in the Sanity context to test your Sanity-connected components.

# Install `@sanity/ui-workshop-plugin-sanity` as dev dependency
npm install @sanity/ui-workshop-plugin-sanity -D

# Install peer dependencies
npm install @sanity/icons @sanity/ui react react-dom styled-components

npm version

Basic usage

Add the plugin to your workshop.config.ts (or .js) in the root of your project:

import {defineConfig} from '@sanity/ui-workshop'
import {sanity} from '@sanity/ui-workshop-plugin-sanity'
import sanityConfig from './sanity.config'

export default defineConfig({
  title: 'My UI Workshop',
  plugins: [sanity({config: sanityConfig})],
})

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @sanity/ui-workshop-plugin-sanity

Weekly Downloads

19

Version

1.0.0

License

MIT

Unpacked Size

42.6 kB

Total Files

18

Last publish

Collaborators

  • ausha
  • kaspar.lippmaa.sanity
  • tdfka_rick
  • jjburbridge
  • ryanblock
  • danielsgroves
  • colepeters
  • dam
  • tbeseda
  • ryanbonial-sanity
  • madken
  • tiit.kass.saity
  • christianhg
  • joan_miralles_paez
  • jwoods-sanity
  • armandocerna
  • daniel.malmer
  • jordanl17
  • tambet
  • drewsanity
  • refiito
  • sergeisarviro
  • ash
  • indrek.karner
  • cngonzalez-sanity
  • rdunk
  • rneatherway-sanity
  • ricokahler
  • pedro-sanity
  • kenjonespizza
  • pauloborgesf
  • binoy14
  • simen.svale
  • svirs
  • josh_sanity_io
  • joneidejohnsen
  • rankers
  • snorreeb
  • mattcraig
  • vincentquigley
  • stipsan
  • michael-sanity
  • rubioz
  • tonina
  • ritasdias
  • simeonsanity
  • kmelve
  • bjoerge
  • rexxars
  • skogsmaskin
  • robinpyon
  • mariuslundgard
  • sanity-io
  • evenw
  • radhe_sanity
  • rbotten
  • judofyr
  • obliadp
  • dcilke
  • fredcarlsen
  • hermanw
  • sgulseth
  • atombender