会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
sunmarvell
博客园
首页
新随笔
联系
订阅
管理
2021年2月25日
React之路由
摘要: 安装命令 npm install -S react-router-dom 引入 import {Link,Route} from 'react-router-dom' 路由的基本使用 1.明确好界面中的导航区、展示区 2.导航区的a标签改为Link标签 <Link to="/xxxxx">Demo<
阅读全文
posted @ 2021-02-25 10:49 sunmarvell
阅读(104)
评论(0)
推荐(0)
编辑
公告