babel-plugin-transform-pug-to-react:Babel插件,让pug做出React

时间:2021-02-04 14:56:49
【文件属性】:
文件名称:babel-plugin-transform-pug-to-react:Babel插件,让pug做出React
文件大小:26KB
文件格式:ZIP
更新时间:2021-02-04 14:56:49
react babel babel-plugin pug BabelJavaScript babel-plugin-transform-pug-to-reaction Babel插件,让哈巴狗做出React 用法 pug `.simple(data='{yoyo}')` // compiles to React . createElement ( "div" , { data : yoyo , className : "simple" } ) ; 与哈巴狗不同 属性\nsome='{this.props.some}' 款式 引用对象\nstyle='{style}' 直接写\nstyle='{{margin: 0}}' style="{{margin: space + '
【文件预览】:
babel-plugin-transform-pug-to-react-master
----.travis.yml(66B)
----.babelrc(28B)
----package.json(1021B)
----test()
--------fixture()
--------index.js(2KB)
----src()
--------index.js(1KB)
----.npmignore(41B)
----.gitignore(19B)
----README.md(4KB)
----yarn.lock(69KB)

网友评论