Since the projects generated by create-react-app and koa-generate are relatively simple, I need a cli tool to generate some of my commonly used project templates, so I made this cli tool
npm install generate-app-cli -g
Create a new project
generate-app create [projectName]
Initialize a project
cd [projectName]
generate-app init
Then follow the instructions
-
react-app-template
base on create-react-app, Integrated react-router, redux, react-app-rewired,customize-cra, ant-design .etc -
react-ts-app-template
base on https://juejin.cn/post/6860129883398668296, then added some commonly used configurations. -
koa-app-template
base on koa, Integrated koa-router, koa-logger, sequelize .etc