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

44 lines
785 B
TypeScript
Raw Normal View History

2016-05-12 14:50:06 +03:00
import {Component} from '@angular/core';
2016-05-11 17:38:01 +03:00
import {RouteConfig} from '@angular/router-deprecated';
2016-04-29 20:07:25 +03:00
import {Typography} from './components/typography';
2016-05-12 12:04:08 +03:00
import {Buttons} from './components/buttons';
2016-05-12 14:50:06 +03:00
import {Icons} from './components/incons';
2016-05-12 16:51:56 +03:00
import {Grid} from './components/grid';
2016-04-29 20:07:25 +03:00
@Component({
selector: 'ui',
pipes: [],
providers: [],
styles: [],
template: `<router-outlet></router-outlet>`
})
@RouteConfig([
{
name: 'Typography',
component: Typography,
path: '/typography',
2016-05-02 16:55:58 +03:00
useAsDefault: true
2016-04-29 20:07:25 +03:00
},
2016-05-12 12:04:08 +03:00
{
name: 'Buttons',
component: Buttons,
path: '/buttons',
2016-05-12 14:50:06 +03:00
},
{
name: 'Icons',
component: Icons,
path: '/icons',
2016-05-12 16:51:56 +03:00
},
{
name: 'Grid',
component: Grid,
path: '/grid',
2016-05-12 12:04:08 +03:00
}
2016-04-29 20:07:25 +03:00
])
export class Ui {
constructor() {
}
}