Added RC4 and beta router

Merge branch 'master' of https://github.com/akveo/ng2-admin
This commit is contained in:
Ronny Roos 2016-07-05 19:57:31 +02:00 committed by nixa
parent a676557c21
commit 31efdaa1f1
17 changed files with 215 additions and 248 deletions

View file

@ -1,16 +1,6 @@
import {Component, ViewEncapsulation} from '@angular/core';
import {RouteConfig} from '@angular/router-deprecated';
import {BaPageTop, BaContentTop, BaSidebar, BaBackTop} from '../theme/components';
import {Dashboard} from './dashboard';
import {Ui} from './ui';
import {Maps} from './maps';
import {Charts} from './charts';
import {Forms} from './forms';
import {Tables} from './tables';
import {Editors} from "./editors";
@Component({
selector: 'pages',
encapsulation: ViewEncapsulation.None,
@ -40,44 +30,6 @@ import {Editors} from "./editors";
<ba-back-top position="200"></ba-back-top>
`
})
@RouteConfig([
{
name: 'Editors',
component: Editors,
path: '/editors/...',
},
{
name: 'Dashboard',
component: Dashboard,
path: '/dashboard',
useAsDefault: true,
},
{
name: 'Ui',
component: Ui,
path: '/ui/...',
},
{
name: 'Maps',
component: Maps,
path: '/maps/...',
},
{
name: 'Charts',
component: Charts,
path: '/charts/...',
},
{
name: 'Forms',
component: Forms,
path: '/forms/...',
},
{
name: 'Tables',
component: Tables,
path: '/tables/...',
}
])
export class Pages {
constructor() {