1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-20 00:08:02 +01:00
unleash.unleash/packages/unleash-frontend-next/src/index.jsx

16 lines
505 B
React
Raw Normal View History

2016-09-12 21:39:54 +02:00
import React from 'react';
import ReactDOM from 'react-dom';
import { Router, Route, hashHistory } from 'react-router';
import App from './App';
import Features from './Features';
import Strategies from './Strategies';
ReactDOM.render((
<Router history={hashHistory}>
<Route path="/" component={App}>
<Route path="/features" component={Features} />
<Route path="/Strategies" component={Strategies} />
</Route>
</Router>
), document.getElementById('app'));