mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-17 07:50:12 +01:00
feat(app\components): create tree view component
This commit is contained in:
parent
e7d21b2239
commit
070cec726e
11 changed files with 117 additions and 0 deletions
25
src/app/pages/components/components.component.ts
Normal file
25
src/app/pages/components/components.component.ts
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
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() {
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue