项目作者: KELEN

项目描述 :
react project template
高级语言: JavaScript
项目地址: git://github.com/KELEN/react-scaffold.git
创建时间: 2019-02-22T10:00:24Z
项目社区:https://github.com/KELEN/react-scaffold

开源协议:

下载


react-scaffold

使用 create-react-app 创建的基础项目,新增了 react-router-domreact-routerreact-reduxantdrect-intlstyled-components

react-router-dom

react路由绑定到dom元素

react-redux

react的状态管理库

styled-components

css in js解决方案,通过 js 赋能解决了原生 css 所不具备的能力,比如变量、循环、函数等

antd

ui组件库

react-app-rewired

一个对 create-react-app 进行自定义配置的社区解决方案

react-intl

国际化

project structurem

  1. |- src
  2. |- actions // reducer action
  3. |- components // common components
  4. |- containers // container component = pages
  5. |- Layout // main layout component
  6. |- Layout.js
  7. |- languages // intl local languages
  8. |- reducers // reducer store
  9. |- styles // styles include global style, third styles
  10. |- index.js // app entry
  11. |- store.js // store entry
  12. |- public

启动

  1. npm i
  2. npm run start