mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-20 17:30:14 +01:00
Crude header with no styles.
This commit is contained in:
parent
65b9d7e537
commit
27dcebeba2
10 changed files with 37 additions and 84 deletions
|
|
@ -2,6 +2,7 @@ import {Component, ViewEncapsulation} from 'angular2/core';
|
|||
import {RouteConfig, Router} from 'angular2/router';
|
||||
|
||||
import {Dashboard} from './dashboard';
|
||||
import {PageTop} from '../theme';
|
||||
|
||||
/*
|
||||
* App Component
|
||||
|
|
@ -11,7 +12,8 @@ import {Dashboard} from './dashboard';
|
|||
selector: 'pages',
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
styles: [],
|
||||
template: `<router-outlet></router-outlet>`
|
||||
directives: [PageTop],
|
||||
template: `<page-top></page-top><router-outlet></router-outlet>`
|
||||
})
|
||||
@RouteConfig([
|
||||
{ path: '/dashboard', name: 'Dashboard', component: Dashboard, useAsDefault: true },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue