Migrate the existing login form to use React

This commit is contained in:
Dane Everitt 2019-06-09 19:26:20 -07:00
parent 0ab3768274
commit d9f30294de
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
15 changed files with 322 additions and 72 deletions

View file

@ -1,10 +1,17 @@
import * as React from 'react';
import { hot } from 'react-hot-loader/root';
import { BrowserRouter as Router, Route } from 'react-router-dom';
import AuthenticationRouter from '@/routers/AuthenticationRouter';
class App extends React.PureComponent {
render () {
return (
<h1>Hello</h1>
<Router>
<div>
<Route exact path="/"/>
<Route path="/auth" component={AuthenticationRouter}/>
</div>
</Router>
);
}
}