create-react-app构建TypeScript项目
create-react-app my-app --template typescript
然后进入项目并启动
cd my-app/
npm run start
项目启动成功,浏览器默认打开http://localhost:3000/
持续更新中......
create-react-app my-app --template typescript
然后进入项目并启动
cd my-app/
npm run start
项目启动成功,浏览器默认打开http://localhost:3000/
持续更新中......