【文件属性】:
文件名称:plastiq-jsxify:用于plastiq的browserify JSX转换
文件大小:2KB
文件格式:ZIP
更新时间:2021-04-28 12:37:09
JavaScript
不推荐使用:使用babel!
要使用代替:
使用以下命令启动文件:
/** @jsx plastiq.html */
var plastiq = require ( 'plastiq' ) ;
然后:
browserify -t babel index.jsx > bundle.js
JSX + plastiq +浏览器
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 < /
【文件预览】:
plastiq-jsxify-master
----.gitignore(21B)
----index.js(115B)
----readme.md(650B)
----package.json(674B)