这个脚手架使用create-react-app 创建的脚手架
- antd 按需加载样式webpack配置
- react-hot-loader 热加载
- 引入fontawesome
- 使用react-group-transition替代swiper做轮播图动画
$ git clone https://github.com/nqmysb/shared-library-ui.git
$ cd shared-library-ui
$ npm install 或者 yarn install
npm如果速度比较慢,请更换镜像为淘宝镜像
//打包完成,启动项目
$ npm start 或者 yarn start
$ npm run lint
$ npm run test:watch
$ npm run build
美工原型参考:https://www.wenkuzhijia.cn/