- npm install -g create-react-app 命令全局安装react脚手架
- npx create-react-app my-app 创建react项目
- npx create-react-app my-app --template typescript 创建基于TypeScript的react项目
- npm uninstall -g create-react-app 卸载老版本
https://facebook.github.io/create-react-app/docs/running-tests