static-cms/src/index.js
Cássio Zen b41bdf23cd lint
2016-07-08 07:12:52 -03:00

20 lines
465 B
JavaScript

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';
import './index.css';
const store = configureStore();
const el = document.createElement('div');
el.id = 'root';
document.body.appendChild(el);
render((
<Provider store={store}>
<Routes/>
</Provider>
), el);