摘要: 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) 编辑