Simpla-demo-helper sets up an environment for Simpla element demos. It imports Simpla, sets up a dummy project, and adds an edit mode toggle control to the page.
<simpla-demo-helper></simpla-demo-helper>
<!-- Element demo -->
<simpla-text path="/example"></simpla-text>
Install simpla-demo-helper with Bower (Yarn support coming soon)
$ bower install simpla-demo-helper --save-dev
Import it into the <head>
of your element demo page
<link rel="import" href="../../simpla-demo-helper/simpla-demo-helper.html">
Then use the element at the top of your page. It will include and setup Simpla for you, and an edit mode toggle control will be available where the element is used.
<simpla-demo-helper></simpla-demo-helper>
MIT © Simpla