You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

29 lines
574 B

import React from 'react';
import { render } from 'react-dom';
import {
Router,
Route,
IndexRoute,
browserHistory,
hashHistory
} from 'react-router';
import { Provider } from 'react-redux';
import store from './store';
import App from './components/app/app';
import './styles/index.scss';
const router = (
<Provider store={store}>
<Router history={hashHistory}>
<Route path="/" component={App} />
</Router>
</Provider>
);
document.addEventListener('DOMContentLoaded', () => {
render(
router,
document.getElementById('app'),
);
});