This project was bootstrapped with Create React App.
Below you will find some information on how to perform common tasks.
You can find the most recent version of this guide here.
route/index.js
文件
import {
//BrowserRouter as Router,
HashRouter as Router,
Route,
Switch,
Redirect,
Link
} from 'react-router-dom'