initial commit

This commit is contained in:
Fedor Katurov 2018-08-15 11:24:40 +07:00
commit 4a2a343e41
11 changed files with 13640 additions and 0 deletions

29
src/index.js Normal file
View file

@ -0,0 +1,29 @@
import React from 'react';
import ReactDOM from 'react-dom';
import { App } from '$containers/App';
import { Provider } from 'react-redux';
import { ConnectedRouter } from 'react-router-redux';
import { PersistGate } from 'redux-persist/integration/react';
// import { configs } from '$constants/moment';
import configureStore, { history } from '$redux/store';
const { store, persistor } = configureStore();
// import './js/common';
// import './js/script';
import './css/style.css';
export const Index = () => (
<Provider store={store}>
<PersistGate loading={null} persistor={persistor}>
<ConnectedRouter history={history}>
<App />
</ConnectedRouter>
</PersistGate>
</Provider>
);
ReactDOM.render(<Index />, document.getElementById('index'));