2016-10-03 14:44:27 +13:00
|
|
|
|
2019-02-10 19:51:33 +13:00
|
|
|
import React from 'react';;
|
2019-01-09 16:56:35 +13:00
|
|
|
import ReactDOM from 'react-dom';;
|
|
|
|
|
import { Provider } from 'react-redux';
|
|
|
|
|
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(
|
2016-10-03 15:22:15 +13:00
|
|
|
<Provider store={store}>
|
2019-01-23 21:50:38 +13:00
|
|
|
<BrowserRouter basename="/iris">
|
2019-01-09 21:57:57 +13:00
|
|
|
<Route path="/" component={App} />
|
2019-01-09 16:56:35 +13:00
|
|
|
</BrowserRouter>
|
2016-10-03 14:44:27 +13:00
|
|
|
</Provider>,
|
|
|
|
|
document.getElementById('app')
|
|
|
|
|
);
|