react project template
使用 create-react-app 创建的基础项目,新增了 react-router-dom
,react-router
,react-redux
,antd
,rect-intl
,styled-components
react路由绑定到dom元素
react的状态管理库
css in js解决方案,通过 js 赋能解决了原生 css 所不具备的能力,比如变量、循环、函数等
ui组件库
一个对 create-react-app 进行自定义配置的社区解决方案
国际化
|- src
|- actions // reducer action
|- components // common components
|- containers // container component = pages
|- Layout // main layout component
|- Layout.js
|- languages // intl local languages
|- reducers // reducer store
|- styles // styles include global style, third styles
|- index.js // app entry
|- store.js // store entry
|- public
npm i
npm run start