/react-redux-myself

自己搭建的react+redux架构

Primary LanguageJavaScript

1.在git上新建一个仓库,得到一个URL地址https://github.com/ckhesy/react-redux-myself 2.git clone https://github.com/ckhesy/react-redux-myself 3.在本地npm init 4.修改package.json文件 5.根据项目需求npm install你所需要的包 6.编辑webpack.config.js 7.编写components,containers,reducers,还有reouter 最后npm run dev跑起来就行了 我这里没有写components组件类,直接在container也即是page页面里面读取页面,后期加上