-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.js
26 lines (22 loc) · 815 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
24
25
26
import React from 'react';
import ReactDOM from 'react-dom';
import {Provider} from 'react-redux';
import {BrowserRouter as Router} from 'react-router-dom';
import injectTapEventPlugin from "react-tap-event-plugin";
import MuiThemeProvider from "material-ui/styles/MuiThemeProvider";
import initializeStore from './config/store';
import RoutingTable from './config/routes';
import './index.css';
injectTapEventPlugin();
const store = initializeStore({});
ReactDOM.render(
// @TODO: Update the basename to match your default path, or remove it if you are mounted at `/`
<Provider store={store}>
<MuiThemeProvider>
<Router basename="/crapshoot">
<RoutingTable />
</Router>
</MuiThemeProvider>
</Provider>,
document.getElementById('root')
);