2016-10-23 07:27:18 +03:00
|
|
|
const React = require('react');
|
|
|
|
const ReactHotLoader = require('react-hot-loader');
|
2016-10-25 16:01:42 +03:00
|
|
|
const ReactRouter = require('react-router');
|
|
|
|
|
2016-11-23 17:00:10 +02:00
|
|
|
// const App = require('../src/components/icon/');
|
2016-10-25 16:01:42 +03:00
|
|
|
const App = require('./containers/app/');
|
2016-10-23 07:27:18 +03:00
|
|
|
|
|
|
|
const {
|
|
|
|
AppContainer
|
|
|
|
} = ReactHotLoader;
|
|
|
|
|
2016-10-25 16:01:42 +03:00
|
|
|
const {
|
|
|
|
BrowserRouter
|
|
|
|
} = ReactRouter;
|
|
|
|
|
2016-10-23 07:27:18 +03:00
|
|
|
module.exports = () => {
|
|
|
|
return (
|
|
|
|
<AppContainer>
|
2016-10-25 16:01:42 +03:00
|
|
|
<BrowserRouter>
|
|
|
|
<App />
|
|
|
|
</BrowserRouter>
|
2016-10-23 07:27:18 +03:00
|
|
|
</AppContainer>
|
|
|
|
);
|
|
|
|
};
|