ngx-admin/src/app/pages/ui/ui.component.ts

38 lines
612 B
TypeScript
Raw Normal View History

2016-04-29 20:07:25 +03:00
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() {
}
}