会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
又回到了起点
博客园
首页
新随笔
联系
管理
订阅
2020年3月19日
ReactRouter基本使用1
摘要: 1.安装npm install -S react-router 使用时,路由器Router就是React的一个组件。 import { Router } from 'react-router'; render(<Router/>, document.getElementById('app')); R
阅读全文
posted @ 2020-03-19 22:54 又回到了起点
阅读(210)
评论(0)
推荐(0)
编辑
公告