2016-10-03 14:44:27 +13:00
|
|
|
|
2019-09-05 15:36:11 +12:00
|
|
|
import React from 'react';
|
|
|
|
|
import ReactDOM from 'react-dom';
|
2019-01-09 16:56:35 +13:00
|
|
|
import { Provider } from 'react-redux';
|
2019-09-05 15:36:11 +12:00
|
|
|
import { BrowserRouter, Route, IndexRoute } from 'react-router-dom';
|
2016-10-03 14:44:27 +13:00
|
|
|
|
2019-04-22 13:20:32 +12:00
|
|
|
import store from './store/index';
|
2018-07-08 21:12:18 +12:00
|
|
|
import App from './App';
|
2016-10-03 14:44:27 +13:00
|
|
|
|
2019-03-20 16:51:09 +13:00
|
|
|
require('../scss/app.scss');
|
|
|
|
|
|
2016-10-03 14:44:27 +13:00
|
|
|
ReactDOM.render(
|
2019-09-05 15:36:11 +12:00
|
|
|
<Provider store={store}>
|
|
|
|
|
<BrowserRouter basename="/iris">
|
|
|
|
|
<Route path="/" component={App} />
|
|
|
|
|
</BrowserRouter>
|
|
|
|
|
</Provider>,
|
|
|
|
|
document.getElementById('app'),
|
|
|
|
|
);
|