handsomepear / create-tsx

创建.tsx文件模板的一个node脚本

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

使用命令行创建 tsx 文件并写入默认模板

使用方法

还未发布到 npm,可以 clone 代码之后执行 npm link 创建软连接到本地

  • 创建目录类型的组件 例如:/components/Auth/index.tsx
ctsx /components/Auth
  • 创建 .tsx 文件
ctsx /components/Auth/Auth.tsx

About

创建.tsx文件模板的一个node脚本


Languages

Language:JavaScript 100.0%