摘要: 官网:https://reactrouter.com/web/guides/quick-start 一、安装 cnpm i react-router-dom -S 二、引入 hash模式 // 使用<Router>包裹组件 import { HashRouter as Router } from ' 阅读全文
posted @ 2021-03-10 16:51 惊蛰丶 阅读(568) 评论(0) 推荐(0) 编辑