摘要:
官方API:https://reacttraining.com/react-router/web/api/BrowserRouter; React Router 安装命令如下。 使用时,路由器Router就是React的一个组件。 import { Router } from 'react-rout 阅读全文
posted @ 2018-08-22 20:07
云上丶无忧
阅读(225)
评论(0)
推荐(0)
摘要:
废话不多说,先给一个github案例:前往.. 1.create-react-app <文件名> 安装router:npm i react-router-dom -S; npm install -S react-router; npm i redux react-redux react-thunk 阅读全文
posted @ 2018-08-22 12:46
云上丶无忧
阅读(1580)
评论(0)
推荐(0)

浙公网安备 33010602011771号