从零打造一套企业级react 组件库生态
$ npm install @ithink/components --save
$ yarn add @ithink/components
import { Button } from "@ithink/components";
const App = () => (
<Button onClick={handlerSyncClick} loading={true} >
异步按钮
</Button>
);
- 框架支持【react】 https://zh-hans.reactjs.org/
- 组件学习【ant design】 https://ant.design/index-cn
- 本地开发【vite】 https://cn.vitejs.dev/
- 项目文档【umi文档】 https://d.umijs.org/zh-CN
- 持续集成【Travis CI】 https://travis-ci.org
- 持续部署【 github Aciton】 https://docs.github.com/cn/actions
- npm管理【lerna】https://github.com/lerna/lerna
- 组件生成【plop】https://github.com/plopjs/plop
✅ 已完成 ⭐️ 完善中 ❌ 未开始
- Button 按钮 ⭐️