Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 803 Bytes

README.md

File metadata and controls

40 lines (28 loc) · 803 Bytes

sanity-plugin-vimeo-sync

This is a Sanity Studio v3 plugin.

Installation

npm install sanity-plugin-vimeo-sync

Usage

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

import {defineConfig} from 'sanity'
import {vimeoSync} from 'sanity-plugin-vimeo-sync'

export default defineConfig({
  //...
  plugins: [
    vimeoSync({
      accessToken: '',
      folderId: '', // optional
    }),
  ],
})

License

MIT © Tristan Bagot

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.