📜  路线反应 - Javascript 代码示例

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

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