This folder is a starting point to connecting your custom data plugins.
- Add a unique plugin ID to your package.json for example
@builder.io/my-data-plugin - Fill in the needed operations in sr/plugin.ts
npm installnpm run start: this will run the code athttp://locahost:1268/plugin.system.js- point your builder space to the plugin code:
- go to
https://builder.io/app/integrations - hit
advanced configurations - add
http://locahost:1268/plugin.system.js?pluginId={{fill this with your package.json id form first bullet point above}} - now page will refresh to add your plugin code to the app
- navigate to any builder content and in the data tab test your data plugin.
- go to
- Once you're done coding make a PR to this repo, or contact us @ support@builder.io if you're interested in building private plugins.