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.
- Updating to New Releases
- Sending Feedback
- Folder Structure
- Available Scripts
- 默认使用HashRouter进行展示,如果需要使用BrowserRouter,请自行修改
route/index.js
文件
import {
//BrowserRouter as Router,
HashRouter as Router,
Route,
Switch,
Redirect,
Link
} from 'react-router-dom'