feat(pages): login page

This commit is contained in:
nixa 2016-06-16 11:33:20 +03:00
parent 98e9965688
commit c10f864c59
5 changed files with 205 additions and 0 deletions

View file

@ -4,6 +4,7 @@ import {Component, ViewEncapsulation} from '@angular/core';
import {RouteConfig} from '@angular/router-deprecated';
import {Pages} from './pages';
import {Login} from './pages/login';
import {AppState} from './app.state';
import {BaThemeConfigProvider, BaThemeConfig} from './theme';
import {BaThemeRun} from './theme/directives';
@ -36,6 +37,11 @@ import {layoutPaths} from './theme/theme.constants';
component: Pages,
useAsDefault: true
},
{
path: '/login',
name: 'Login',
component: Login
},
// 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