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,8 +1,4 @@
import {Component} from '@angular/core';
import {RouteConfig} from '@angular/router-deprecated';
import {Inputs} from './components/inputs';
import {Layouts} from './components/layouts';
import {Component} from "@angular/core";
@Component({
selector: 'forms',
@ -11,19 +7,6 @@ import {Layouts} from './components/layouts';
styles: [],
template: `<router-outlet></router-outlet>`
})
@RouteConfig([
{
name: 'Inputs',
component: Inputs,
path: '/inputs',
useAsDefault: true
},
{
name: 'Layouts',
component: Layouts,
path: '/layouts',
}
])
export class Forms {
constructor() {