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,10 +1,4 @@
import {Component} from '@angular/core';
import {RouteConfig} from '@angular/router-deprecated';
import {Typography} from './components/typography';
import {Buttons} from './components/buttons';
import {Icons} from './components/incons';
import {Grid} from './components/grid';
import {Component} from "@angular/core";
@Component({
selector: 'ui',
@ -13,29 +7,6 @@ import {Grid} from './components/grid';
styles: [],
template: `<router-outlet></router-outlet>`
})
@RouteConfig([
{
name: 'Typography',
component: Typography,
path: '/typography',
useAsDefault: true
},
{
name: 'Buttons',
component: Buttons,
path: '/buttons',
},
{
name: 'Icons',
component: Icons,
path: '/icons',
},
{
name: 'Grid',
component: Grid,
path: '/grid',
}
])
export class Ui {
constructor() {