- 脚手架:create-react-app
- 使用 React Hooks 开发
- TypeScript
- Ant Design
- CSS Modules,
- Sass
- 配置文件:.eslintrc
- 安装插件 Eslint
- 安装 prettier
- 增加 .prettierrc 重置 prettier 配置
- 执行
yarn eslint
会根据.prettierrc格式化样式,根据.eslintrc进行代码规则格式化
- 全局安装yarn
- 启动代理服务
yarn start-server
- 执行
yarn start
- 浏览器就会自动打开:
http://localhost:3000