📅  最后修改于: 2022-03-11 15:03:54.688000             🧑  作者: Mango
react-router-dom v6 example: //NO SWITCH IN V6
import React from 'react'
import { BrowserRouter as Router, Route, Routes } from 'react-router-dom'
import '../styles/global.css'
import Layout from '../containers/Layout'
import Home from '../pages/Home'
import Login from '../containers/Login'
import RecoveryPassword from '../containers/RecoveryPassword'
import NotFound from '../pages/NotFound'
const App = () => {
return (
}/>
}/>
}/>
}/>
);
}
export default App;