1.0.0 • Published 9 years ago

plastiq-jsxify v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

JSX + plastiq + browserify

var plastiq = require('plastiq');
var h = plastiq.html;

function render() {
  return <div>
      <h1>this is your plastiq on jsx</h1>
      <button onclick={function () { alert('yo bobo'); }}>say hi</button>
    </div>;
}

plastiq.append(document.body, render);

install

npm i plastiq-jsxify

usage

browserify -t plastiq-jsxify index.js > bundle.js