mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
9 lines
389 B
JavaScript
9 lines
389 B
JavaScript
import React from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
import { browserHistory } from 'react-router';
|
|
import { ReactApp } from './components/ReactApp.jsx';
|
|
import 'bootstrap/dist/css/bootstrap.css';
|
|
|
|
// In the browser, we render into a DOM node and hook up to the browser's history APIs
|
|
ReactDOM.render(<ReactApp history={ browserHistory } />, document.getElementById('react-app'));
|