ember-react-components:在Ember中渲染React组件

时间:2021-02-04 22:16:21
【文件属性】:
文件名称:ember-react-components:在Ember中渲染React组件
文件大小:216KB
文件格式:ZIP
更新时间:2021-02-04 22:16:21
react ember ember-addon Ember 余烬React成分 在Ember中使用React组件 这个插件是在Ember中渲染React组件的方法的概念验证。 它几乎完全受到 的启发,并从中汲取了总体思路。 安装 ember install ember-react-components @ember-decorators/babel-transforms 兼容性 此插件需要Ember CLI 2.15或更高版本。 用法 该插件提供了ES6类装饰器,该装饰器允许在Ember中呈现React元素。 例如,您可以创建如下组件: // app/components/my-react-component.js import React fr
【文件预览】:
ember-react-components-master
----.gitignore(362B)
----package.json(3KB)
----commitlint.config.js(69B)
----LICENSE.md(1KB)
----.watchmanconfig(37B)
----.travis.yml(1KB)
----CONTRIBUTING.md(639B)
----index.js(367B)
----CHANGELOG.md(4KB)
----tsconfig.json(991B)
----addon()
--------index.js(2KB)
---------private()
----testem.js(565B)
----.eslintrc.js(1KB)
----README.md(3KB)
----vendor()
--------.gitkeep(0B)
----tests()
--------dummy()
--------integration()
--------unit()
--------helpers()
--------index.html(1KB)
--------test-helper.js(228B)
----config()
--------ember-try.js(2KB)
--------addon-docs.js(297B)
--------deploy.js(849B)
--------environment.js(89B)
----.eslintignore(240B)
----.lintstagedrc(47B)
----lib()
--------add-jsx-extension-support.js(499B)
--------configure-jsx-transform.js(741B)
----.ember-cli(280B)
----ember-cli-build.js(494B)
----.npmignore(308B)
----blueprints()
--------react-component()
----.editorconfig(368B)
----.prettierrc(26B)
----yarn.lock(513KB)
----.template-lintrc.js(62B)

网友评论