index.js 552 B

12345678910111213141516171819
  1. import React from 'react';
  2. import ReactDOM from 'react-dom';
  3. import './index.css';
  4. import App from './App';
  5. import { BrowserRouter } from "react-router-dom";
  6. import reportWebVitals from './reportWebVitals';
  7. ReactDOM.render(
  8. <BrowserRouter>
  9. <App />
  10. </BrowserRouter>,
  11. document.getElementById('root')
  12. );
  13. // If you want to start measuring performance in your app, pass a function
  14. // to log results (for example: reportWebVitals(console.log))
  15. // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
  16. reportWebVitals();