2018-11-30 23:18:38 +05:30
|
|
|
import React from 'react';
|
|
|
|
import ReactDOM from 'react-dom';
|
|
|
|
import './index.css';
|
|
|
|
import App from './App';
|
|
|
|
import * as serviceWorker from './serviceWorker';
|
2018-12-01 19:22:26 +05:30
|
|
|
import { BrowserRouter } from 'react-router-dom';
|
2018-11-30 23:18:38 +05:30
|
|
|
|
2018-12-01 19:22:26 +05:30
|
|
|
ReactDOM.render(
|
|
|
|
<BrowserRouter>
|
|
|
|
<App />
|
|
|
|
</BrowserRouter>,
|
|
|
|
document.getElementById('root')
|
|
|
|
);
|
2018-11-30 23:18:38 +05:30
|
|
|
|
|
|
|
// If you want your app to work offline and load faster, you can change
|
|
|
|
// unregister() to register() below. Note this comes with some pitfalls.
|
|
|
|
// Learn more about service workers: http://bit.ly/CRA-PWA
|
|
|
|
serviceWorker.unregister();
|