mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 23:40:14 +01:00
25 lines
450 B
TypeScript
25 lines
450 B
TypeScript
import {Component} from '@angular/core';
|
|
import {RouteConfig} from '@angular/router-deprecated';
|
|
import {TreeView} from "./components/treeView";
|
|
|
|
@Component({
|
|
selector: 'components',
|
|
pipes: [],
|
|
providers: [],
|
|
styles: [],
|
|
template: `<router-outlet></router-outlet>`
|
|
})
|
|
@RouteConfig([
|
|
{
|
|
name: 'TreeView',
|
|
component: TreeView,
|
|
path: '/tree-view',
|
|
useAsDefault: true
|
|
}
|
|
])
|
|
export class Components {
|
|
|
|
constructor() {
|
|
}
|
|
|
|
}
|