react-configurator

1.1.3 • Public • Published

❯ React-Configurator

version

基于react的快速配置目录的工具

split

工具一: 快速生成react组件

❯ install

npm i react-configurator

❯ use

  • 使用命令行生成react组件
  • 注意这里采用的是styled-components的方式使用css
npx create-component [options] <ComponentName> <OutputDirectory>

❯ examples

npx create-component ts MyComponent ./src/components


// 成功后终端输出
Component index.tsx created successfully at src\components\MyComponent\index.tsx,
Component style.ts created successfully at src\components\MyComponent\style.ts

split

工具二: 快速生成目录文件

Readme

Keywords

none

Package Sidebar

Install

npm i react-configurator

Weekly Downloads

0

Version

1.1.3

License

ISC

Unpacked Size

5.76 kB

Total Files

8

Last publish

Collaborators

  • frankly666