Package Exports
- armo-breadboard
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (armo-breadboard) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
armo-breadboard
A themeable React component. Use it to edit a live React component's source in real time.
Used on reactarmory.com. Only use this component to display your own code -- it is not safe for use with publicly submitted code. For public code, use a service like codepen.io.
Installation
yarn add armo-breadboardHost script
To use Breadboard with IE, you'll need to setup a "host page" on the domain under which you want the script to run. This domain should be different from your site's domain for security purposes.
The host page just loads the host script, which allows it to receive source from the main Breadboard component. For example, React Armory has a host.html page on https://breadboard.reactarmory.com:
<!DOCTYPE html>
<html>
<head>
<script src="https://breadboard.reactarmory.com/host.js?version=1"></script>
</head>
<body>
</body>
</html>