plastiq-jsxify
browserify jsx transform for plastiq
Last updated 5 years ago by refractalize .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install plastiq-jsxify 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (5 years ago)

1 Versions

  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |