pug-php/pug-filter-react
最新稳定版本:1.1.0
Composer 安装命令:
composer require pug-php/pug-filter-react
包简介
Render React JSX code as JavaScript in a script tag
README 文档
README
This template:
body
:jsx
/** @jsx dom */
var dom = React.createElement;
ReactDOM.render(
<h1>Hello world!</h1>,
document.getElementById('main')
);
will be rendered like this:
<body> <script type="text/javascript"> "use strict"; /** @jsx dom */ var dom = React.createElement; ReactDOM.render(dom( "h1", null, "Hello world!" ), document.getElementById('main')); </script> </body>
Security contact information
To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.
统计信息
- 总下载量: 88.7k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-05-15