React + react-router + react-redux前端架构
首先安装creact-react-app
npm i create-react-app -g
创建APP
create-react-app my-app
cd my-app
先执行 npm eject生成webpack配置文件
Router安装
npm i react-router -s (npm i react-router@3.2.1 -s)
react-router4.0
提供了Route...
原创
2019-02-15 14:14:48 ·
522 阅读 ·
0 评论