mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-20 01:10:13 +01:00
38 lines
612 B
TypeScript
38 lines
612 B
TypeScript
|
|
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() {
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|