mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-19 08:50:13 +01:00
Nested pages/dashboard route.
This commit is contained in:
parent
62836727ae
commit
65b9d7e537
11 changed files with 296 additions and 66 deletions
|
|
@ -1,3 +1,25 @@
|
|||
/**
|
||||
* Created by Andrey_Grabowsky on 20.04.16.
|
||||
/*
|
||||
* Angular 2 decorators and services
|
||||
*/
|
||||
import {Component, ViewEncapsulation} from 'angular2/core';
|
||||
/*
|
||||
* App Component
|
||||
* Top Level Component
|
||||
*/
|
||||
@Component({
|
||||
selector: 'dashboard',
|
||||
pipes: [ ],
|
||||
providers: [ ],
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
styles: [require('./dashboard.scss') ],
|
||||
template: 'DASHBOARD'
|
||||
})
|
||||
export class Dashboard {
|
||||
|
||||
constructor() {}
|
||||
|
||||
ngOnInit() {
|
||||
console.log('DASHBOARD');
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue