empty child component

This commit is contained in:
nixa 2016-04-29 20:07:25 +03:00
parent 32f4967d37
commit 0a4cc28447
5 changed files with 76 additions and 7 deletions

View file

@ -0,0 +1,37 @@
import {Component, ViewEncapsulation} from 'angular2/core';
import {RouteConfig} from 'angular2/router';
import {Typography} from './components/typography';
@Component({
selector: 'ui',
pipes: [],
providers: [],
styles: [],
template: `<router-outlet></router-outlet>`
})
@RouteConfig([
{
name: 'Typography',
component: Typography,
path: '/typography',
useAsDefault: true,
data: {
title: 'Typography',
selected: false,
expanded: false,
sidebarMeta: {
order: 0,
}
}
},
])
export class Ui {
constructor() {
}
ngOnInit() {
}
}