sanity-plugin-map-locator
v1.1.0
Published
> This is a **Sanity Studio v3** plugin.
Downloads
110
Maintainers
Readme
sanity-plugin-esri-map-locator
This is a Sanity Studio v3 plugin.
Installation
npm install sanity-plugin-esri-map-locator
Usage
Add it as a plugin in sanity.config.ts
(or .js):
import { defineConfig } from 'sanity';
import { myPlugin } from 'sanity-plugin-esri-map-locator'; // or local_path_to_your_plugin
export default defineConfig({
//...
plugins: [myPlugin({})],
});
License
MIT © NGS
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.
How to test on localhost
- In your plugin directory, run:
npm link
and npm run link-watch
- Navigate to your Sanity studio directory and link the plugin (where you want to test):
npm link <plugin-name>