📜  反应 js 路由器 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:28.339000             🧑  作者: Mango

代码示例6
// npm install react-router-dom
// yarn add react-router-dom
import {
  BrowserRouter as Router,
  Switch,
  Route,
  Link
} from "react-router-dom";