@threesigmaxyz/sanity-plugin-file-importer
v1.0.0-beta4
Published
A plugin to import files of different formats into Sanity, as docueme
Readme
sanity-plugin-file-importer
This is a Sanity Studio v3 plugin.
Installation
npm install sanity-plugin-file-importer
Usage
Add it as a plugin in sanity.config.ts
(or .js):
import {defineConfig} from 'sanity'
import {myPlugin} from 'sanity-plugin-file-importer'
export default defineConfig({
//...
plugins: [myPlugin({})],
})
License
GNU Affero General Public License v3.0 © Three Sigma
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.