1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

login mechanism

This commit is contained in:
muerwre 2019-04-04 16:36:50 +07:00
parent 6168841f78
commit 9528e7f699
27 changed files with 528 additions and 96 deletions

View file

@ -2,12 +2,11 @@ import * as React from 'react';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import { hot } from 'react-hot-loader';
import { SomeComponent } from '$components/SomeComponent';
import { ConnectedRouter } from "connected-react-router";
import { history } from "$redux/store";
import { NavLink, Switch, Route } from 'react-router-dom';
import { MainLayout } from "$containers/MainLayout";
import { FlowLayout } from "$containers/FlowLayout";
import { LoginLayout } from "$containers/LoginLayout";
interface IAppProps {}
interface IAppState {}
@ -24,8 +23,8 @@ class Component extends React.Component<IAppProps, IAppState> {
component={FlowLayout}
/>
<Route
path="/somepath"
component={SomeComponent}
path="/login"
component={LoginLayout}
/>
</Switch>
</div>