123456789101112131415161718192021222324252627282930 |
- /**
- * React Static Boilerplate
- * https://github.com/koistya/react-static-boilerplate
- *
- * Copyright © 2015-2016 Konstantin Tarkus (@koistya)
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE.txt file in the root directory of this source tree.
- */
- import 'babel-polyfill';
- import { createApp } from 'react-app';
- import store from './store';
- import routes from '../routes';
- createApp({
- routes,
- context: { store },
- container: document.getElementById('container'),
- });
- // if (module.hot) {
- // module.hot.accept(() => {
- // createApp({
- // routes,
- // context: { store },
- // container: document.getElementById('container'),
- // });
- // });
- // }
|