mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 16:30:13 +01:00
feat(pages): login page
This commit is contained in:
parent
98e9965688
commit
c10f864c59
5 changed files with 205 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue