feat(pages): register page

This commit is contained in:
nixa 2016-06-16 11:47:25 +03:00
parent c10f864c59
commit 919cbf5d2d
8 changed files with 215 additions and 143 deletions

View file

@ -5,6 +5,7 @@ import {RouteConfig} from '@angular/router-deprecated';
import {Pages} from './pages';
import {Login} from './pages/login';
import {Register} from './pages/register';
import {AppState} from './app.state';
import {BaThemeConfigProvider, BaThemeConfig} from './theme';
import {BaThemeRun} from './theme/directives';
@ -42,6 +43,11 @@ import {layoutPaths} from './theme/theme.constants';
name: 'Login',
component: Login
},
{
path: '/register',
name: 'Register',
component: Register
},
// handle any non-registered route
// and simply redirects back to dashboard page
// you can specify any customer 404 page while it's not built in ito ng2-admin