Change Framing of "Embedded" Recipe
Danny Brown
Our Embedded recipe is aimed at less technical users looking for a quick way to "drop-in" the viewer, or use it with no build step and only minimal config. We should frame it to target that audience, and to be as straightforward and hassle free as possible.
> What I was expecting to see is something like "use from script tag" and a short <pre> section that had something like:
// add config first
// ...
<div id="root"></div>
//...
<script src="https://unpkg.com/ohif-viewer@0.1.9/dist/index.umd.js" crossorigin></script>
<script>
var Viewer = window.OHIFStandaloneViewer.App;
var app = React.createElement(Viewer, window.config, null);
ReactDOM.render(app, document.getElementById("root"));
</script>
Feedback from Steve Pieper