2016-02-25 00:45:56 -08:00
|
|
|
import React from 'react';
|
|
|
|
import { render } from 'react-dom';
|
|
|
|
import { Provider } from 'react-redux';
|
|
|
|
import configureStore from './store/configureStore';
|
|
|
|
import Routes from './routes/routes';
|
|
|
|
import 'file?name=index.html!../example/index.html';
|
|
|
|
|
|
|
|
const store = configureStore();
|
|
|
|
|
2016-06-08 04:42:24 -03:00
|
|
|
window.store = store;
|
|
|
|
|
2016-02-25 00:45:56 -08:00
|
|
|
const el = document.createElement('div');
|
|
|
|
document.body.appendChild(el);
|
|
|
|
|
|
|
|
render((
|
|
|
|
<Provider store={store}>
|
|
|
|
<Routes/>
|
|
|
|
</Provider>
|
|
|
|
), el);
|