没有合适的资源?快使用搜索试试~ 我知道了~
babel-plugin-react-pug:在React组件中使用哈巴狗!
共53个文件
js:39个
pug:4个
md:1个
需积分: 17 1 下载量 33 浏览量
2021-01-31
03:38:28
上传
评论
收藏 59KB ZIP 举报
温馨提示
babel-plugin-react-pug 拿出JSX并使用Pug! 一个微型的高性能babel插件,可让您在JSX上使用Pug,为定义React Component模板提供了高效且易读的选择。 本质上,该插件将Pug模板转换为React函数调用。 支持React Native! 这不是用于将Pug转换为JSX的官方Pug插件。 请参阅 ! 例 在 class Profile extends React . Component { ... render ( ) { return pug ` #profile.profile__container h1.profile__name ${ this . state . name } ` } } 出 class Profile extends React . Component { ... render ( ) { return React . createElement ( 'div' ,
资源推荐
资源详情
资源评论
收起资源包目录
babel-plugin-react-pug-master.zip (53个子文件)
babel-plugin-react-pug-master
.travis.yml 72B
.babelrc 132B
.flowconfig 71B
package.json 1KB
LICENCE 1KB
test
index.js 1KB
fixtures
extend-prepend-template
test.pug 71B
expected.js 315B
actual.js 193B
class-names-attributes
expected.js 154B
actual.js 98B
nested-pug-functions
expected.js 168B
actual.js 84B
nested-interpolation
expected.js 188B
actual.js 120B
miscellaneous-attributes
expected.js 149B
actual.js 93B
multiple-attributes
expected.js 125B
actual.js 76B
extend-append-template
test.pug 65B
expected.js 315B
actual.js 197B
conditional-operators
expected.js 222B
actual.js 149B
class-name-attributes
expected.js 119B
actual.js 62B
iteration-interpolation
expected.js 268B
actual.js 141B
extend-template
test.pug 39B
expected.js 239B
actual.js 173B
multiple-interpolations
expected.js 126B
actual.js 99B
text-interpolation
expected.js 139B
actual.js 82B
whitespace-alternatives
expected.js 200B
actual.js 112B
component-interpolation
expected.js 131B
actual.js 92B
include-template
test.pug 42B
expected.js 296B
actual.js 130B
src
index.js 444B
NodeBuilder.js 6KB
Leash.js 4KB
translations.js 2KB
.gitignore 90B
types
pug.js 510B
babel.js 321B
README.md 7KB
yarn.lock 120KB
.editorconfig 215B
.gitattributes 11B
共 53 条
- 1
资源评论
西西里上尉
- 粉丝: 24
- 资源: 4669
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 这是一个保存Springboot+MyBaits项目的仓库.zip
- tensorflow-gpu-2.7.2-cp39-cp39-manylinux2010-x86-64.whl
- tensorflow-2.7.4-cp38-cp38-manylinux2010-x86-64.whl
- tensorflow-gpu-2.7.4-cp38-cp38-manylinux2010-x86-64.whl
- 詹佳 陈敏 口语2.mp3
- 图书管理系统毕业设计Java语言实现
- turtle-0.0.2.zip
- 机器学习(股票),基于机器学习算法支持向量机SVM的交易策略
- 1713969763417.png
- 国家药品编码本位码,国家药品编码本位码,国家药品编码本位码,国家药品编码本位码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功