/shared-library-ui

文库网站前端UI-基于react官方脚手架。 集成了 react-router react-redux antd redux-thunk antd 按需加载样式webpack配置 添加react-hot-loader 热加载 引入fontawesome 使用react-group-transition替代swiper做轮播图动画 可以作为前端网站脚手架

Primary LanguageJavaScript

基于React官方脚手架-create-react-app

这个脚手架使用create-react-app 创建的脚手架

Features 功能特性

  • antd 按需加载样式webpack配置
  • react-hot-loader 热加载
  • 引入fontawesome
  • 使用react-group-transition替代swiper做轮播图动画

1. start

$ git clone https://github.com/nqmysb/shared-library-ui.git
$ cd shared-library-ui
$ npm install 或者 yarn install

npm如果速度比较慢,请更换镜像为淘宝镜像

2. dev

2.1 开发调试

//打包完成,启动项目
$ npm start 或者 yarn start

查看效果 http://127.0.0.1:3000

2.2 代码检查

$ npm run lint

2.3 测试用例

$ npm run test:watch

2.4 产出资源

$ npm run build

3. 技术栈

美工原型参考:https://www.wenkuzhijia.cn/