mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 08:20:13 +01:00
feat(app\components): create tree view component
This commit is contained in:
parent
77320b1f4b
commit
4dfd7e8c28
9 changed files with 99 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