1.1.0 • Published 5 years ago

@shenyuan/createfile v1.1.0

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

createFile

node生成js文件并填写准备好的react模板

安装方式

sudo npm i @shenyuan/createfile -g

使用方法

在当前目录下生成js文件

// 在终端执行命令
cf init

image1

在当前目录生成了文件并且填上react模板,文件名就是组件的名称,摆脱繁琐的复制粘贴工作

image2

还可以输入目录和文件名

image3

在当前目录生成了文件夹和文件

image3

新增模板

  • react-hook
1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago