摘要: 1、安装 react-router-dom yarn add react-router-dom --save 2、新建router文件夹 -src --router(文件夹新建) index.js routes.js -App.js (脚手架自带) 3、src/router/index.js (未配 阅读全文
posted @ 2021-03-09 11:20 王希有 阅读(820) 评论(0) 推荐(0) 编辑