2016-04-18 12:39:09 -04:00
|
|
|
import React from 'react';
|
|
|
|
import ReactDOM from 'react-dom';
|
2018-07-21 16:53:53 +02:00
|
|
|
import {Route} from 'react-router';
|
2016-04-18 12:39:09 -04:00
|
|
|
import App from './App/App.jsx';
|
2016-04-29 10:37:21 -04:00
|
|
|
import LoginContent from './App/components/LoginContent.jsx';
|
2018-07-21 16:53:53 +02:00
|
|
|
import {BrowserRouter, Switch} from "react-router-dom";
|
2016-04-19 13:55:21 -04:00
|
|
|
|
|
|
|
ReactDOM.render((
|
2018-07-21 16:53:53 +02:00
|
|
|
<BrowserRouter>
|
|
|
|
<Switch>
|
|
|
|
<Route path="/login" component={LoginContent} />
|
|
|
|
<Route component={App} />
|
|
|
|
</Switch>
|
|
|
|
</BrowserRouter>
|
2016-04-19 13:55:21 -04:00
|
|
|
), document.getElementById('app'))
|
2016-04-18 12:39:09 -04:00
|
|
|
|