项目作者: malun666

项目描述 :
React app template
高级语言: JavaScript
项目地址: git://github.com/malun666/ReactApp.git
创建时间: 2018-06-01T17:14:42Z
项目社区:https://github.com/malun666/ReactApp

开源协议:

下载


此项目为:基于Create React App构建的 React 的项目模板。

免费在线前端全套视频地址:https://qtxh.ke.qq.com/

仅用于学习,不能应用于IE8,如果需要加入IE8的支持,请自行降级版本和添加相关垫片。

前端全栈实习aicoder.com 不骗人,高质量的实习机构。

不 8000 就业,不用还实习费

主要是综合应用了:Reactreact-routeraxiosreduxredux-thunkscss等,可以作为你学习和使用React的基础模板。

快速使用

  • 快速开发
  1. # 安装依赖
  2. $ npm instal
  3. # 或者yarn
  4. $ yarn
  5. $ npm start
  6. # 或者,使用yarn
  7. $ yarn start
  • 打包部署
  1. $ npm run build
  2. # 或者,使用yarn
  3. $ yarn run build

目录结构

  1. ── README.md --- 说明
  2. ├── build --- 自动构建的目录
  3. ├── config
  4. ├── env.js
  5. ├── jest
  6. ├── paths.js
  7. ├── polyfills.js
  8. ├── webpack.config.dev.js
  9. ├── webpack.config.prod.js
  10. └── webpackDevServer.config.js
  11. ├── package.json
  12. ├── public --- 静态根目录
  13. ├── favicon.ico
  14. ├── index.html
  15. └── manifest.json
  16. ├── scripts
  17. ├── build.js
  18. ├── start.js
  19. └── test.js
  20. ├── src
  21. ├── App.js
  22. ├── App.scss
  23. ├── App.test.js
  24. ├── actions --- action
  25. ├── index.js
  26. └── stuAction.js
  27. ├── components --- 组件
  28. ├── List.js
  29. └── RouteWithSubRoutes.js
  30. ├── index.css
  31. ├── index.js
  32. ├── logo.svg
  33. ├── reducers
  34. ├── index.js
  35. └── stuList.js
  36. ├── registerServiceWorker.js
  37. ├── routes --- 路由
  38. └── index.js
  39. ├── store --- reduxstore
  40. └── index.js
  41. ├── util
  42. └── view --- 视图目录
  43. ├── Stu.css
  44. ├── Stu.js
  45. └── Stu.scss
  46. ├── yarn-error.log
  47. └── yarn.lock