mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 08:20:13 +01:00
feat(pages): register page
This commit is contained in:
parent
c10f864c59
commit
919cbf5d2d
8 changed files with 215 additions and 143 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue