【文件属性】:
文件名称:crcf-skeleton:创建React组件文件夹
文件大小:799KB
文件格式:ZIP
更新时间:2021-05-15 22:45:45
JavaScript
创建React Component文件夹
关于
该软件包建立在之上。 它基于标志提供烟雾测试以及正常测试。 Create React Component文件夹可在macOS,Windows和Linux上运行。 它使用一个命令创建React或React Native组件文件夹结构。 还支持Typescript,React Native,Less和Sass。
快速概述
$ npm install --save-dev create-react-component-folder
$ npx crcf myComponent
( 自带NPM 5.2+及以上,看到)
教程
安装
$ npm install --save-dev create-react-component-folder
创建单个组件
$ npx crcf myComponent
$ npx crcf components/myCo
【文件预览】:
crcf-skeleton-master
----.gitignore(61B)
----.eslintrc(26B)
----package.json(1KB)
----bin()
--------create-react-component-folder.js(62B)
--------crcf.js(46B)
----LICENSE(1KB)
----.DS_Store(6KB)
----examples()
--------myComponent()
--------NormalComp()
--------CompWithProps()
--------.DS_Store(6KB)
--------index.js(485B)
--------TypescriptNativeComp()
--------NativeCompWithProps()
--------CompWithSass()
--------TypescriptComp()
--------NormalNativeComp()
----README.md(4KB)
----lib()
--------data()
--------index.js(7KB)
--------utils()
--------logger()
----TODO.md(92B)
----.npmignore(13B)
----docs()
--------index2.png(150KB)
--------npx_instructions.md(256B)
--------single.png(23KB)
--------single2.png(80KB)
--------help.png(164KB)
--------crcf.svg(144KB)
--------multiple.png(58KB)
--------index.png(167KB)
--------crcf_video.svg(144KB)
--------multiple2.png(147KB)
----.editorconfig(625B)
----.prettierrc(89B)
----yarn.lock(86KB)