react router 4+ 路由统一配置 下载npm包 react-router-config 和 react-router-dom #加载依赖包 1.npm install //或者 yarn #另起个命令行,跑项目 3.npm run dev //或者 npm start 博客 github 地址 github地址 https://github.com/babybrotherzb CSDN博客地址 https://blog.csdn.net/weixin_43648947