-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
24 lines (21 loc) · 806 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import React from 'react';
import ReactDOM from 'react-dom';
import { Router, BrowserRouter } from 'react-router-dom';
import history from './pagehistory.js';
// import './style/bootstrap.css';
import 'bootstrap/dist/css/bootstrap.css';
import './index.css';
import './style/app.css';
import './videoplayer.css';
import 'shaka-player/dist/controls.css';
import './style/player.css';
import './style/page.css';
import './style/shop.css';
import App from './App';
import registerServiceWorker from './registerServiceWorker';
// If we make a call to server here for some data we can speed up rendering and skip some later calls to server
ReactDOM.render(
<Router history={history}>
<App history={history} />
</Router>, document.getElementById('root'));
registerServiceWorker();