routing
This commit is contained in:
parent
6d33f9bead
commit
a3abf8a38e
9 changed files with 31456 additions and 9298 deletions
|
@ -4,12 +4,13 @@ import './index.css';
|
|||
import App from './App';
|
||||
import reportWebVitals from './reportWebVitals';
|
||||
import { render } from 'react-snapshot';
|
||||
import { BrowserRouter } from 'react-router-dom';
|
||||
|
||||
render(
|
||||
<React.StrictMode>
|
||||
<App />
|
||||
</React.StrictMode>,
|
||||
document.getElementById('root')
|
||||
ReactDOM.render((
|
||||
<BrowserRouter>
|
||||
<App /> {/* The various pages will be displayed by the `Main` component. */}
|
||||
</BrowserRouter>
|
||||
), document.getElementById('root')
|
||||
);
|
||||
|
||||
// If you want to start measuring performance in your app, pass a function
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue