sanity-plugin-asset-source-bynder
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

sanity-plugin-asset-source-bynder

This is a Sanity Studio v3 plugin.

Installation

npm install sanity-plugin-asset-source-bynder

Usage

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

import {defineConfig} from 'sanity'
import {bynderImageAsset} from 'sanity-plugin-asset-source-bynder'

export default defineConfig({
  //...
  plugins: [
    bynderImageAsset({
      bynderDomain: 'https://<your-bynder-domain>',
      apiToken: '<your-api-token>',
      //optional parameters
      thumbnailTransformerName: 'DAT name',
      menuTitle: 'Bynder'
    })]
})

License

MIT © Ivan Adutskevich

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.

Readme

Keywords

Package Sidebar

Install

npm i sanity-plugin-asset-source-bynder

Weekly Downloads

1

Version

1.0.5

License

MIT

Unpacked Size

444 kB

Total Files

19

Last publish

Collaborators

  • dutsik