Socket
Socket
Sign inDemoInstall

@builder.io/app-plugin-demo

Package Overview
Dependencies
170
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @builder.io/app-plugin-demo

See [here](src/plugin.ts) for the React component that powers this plugin


Version published
Weekly downloads
1
decreased by-50%
Maintainers
2
Install size
37.0 MB
Created
Weekly downloads
 

Readme

Source

Builder.io UMG MIRA Demo Plugin

See here for the React component that powers this plugin

Status

Builder plugins are in beta. If you run into any issues or have questions please contact help@builder.io for help

Getting started

Install

git clone https://github.com/BuilderIO/umg-mira-plugin.git
npm install

Develop

npm start

Add the plugin in Builder.io

From Builder.io open the javascript console in your browser's dev tools and run.

// Adds the plugin
builder.plugins.replace([
  'http://localhost:1268/dist/plugin.system.js'
]);
// Saves for all in your organization and reloads the browser
builder.savePlugins().then(() => location.reload());

NOTE: Loading http:// content on an https:// website will give you a warning. Be sure to click the shield in the top right of your browser and choose "load unsafe scripts" to allow the http content on Builder's https site when devloping locally

Load unsafe script example

Now as you develop you can restart Builder to see the latest version of your plugin.

To uninstall your plugin run

// Removes all plugins
builder.plugins.replace([]);
// Saves for all in your organization and reloads the browser
builder.savePlugins().then(() => location.reload());

Publishing

We recommend sending us a pull request with your plugin so we can publish it on your behalf.

If required, you can also publish to your own NPM or a hosting service.

To load a plugin from NPM

builder.plugins.replace([
  '@builder.io/plugin-example'
])
Advanced

You can load a plugin from a specific version

builder.plugins.replace([
  '@builder.io/plugin-example@1.0.0'
])

Or from a URL

builder.plugins.replace([
  'https://something.com/foo'
])

FAQs

Last updated on 28 May 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc