Beginning React+Redux template as a direct copy of the React one

This commit is contained in:
SteveSandersonMS
2016-03-07 10:20:31 +00:00
parent 3ab3a1bf5f
commit ec9337754f
37 changed files with 4085 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import 'bootstrap';
import 'bootstrap/dist/css/bootstrap.css';
import './css/site.css';
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { browserHistory, Router } from 'react-router';
import routes from './routes';
// This code starts up the React app when it runs in a browser. It sets up the routing configuration
// and injects the app into a DOM element.
ReactDOM.render(
<Router history={ browserHistory } children={ routes } />,
document.getElementById('react-app')
);