使用命令行创建 tsx 文件并写入默认模板 使用方法 还未发布到 npm,可以 clone 代码之后执行 npm link 创建软连接到本地 创建目录类型的组件 例如:/components/Auth/index.tsx ctsx /components/Auth 创建 .tsx 文件 ctsx /components/Auth/Auth.tsx