mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-25 02:36:10 +01:00
maps components structure created
This commit is contained in:
parent
bff8af282e
commit
57b694c81b
9 changed files with 78 additions and 15 deletions
29
src/app/pages/maps/maps.component.ts
Normal file
29
src/app/pages/maps/maps.component.ts
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
import {Component, ViewEncapsulation} from 'angular2/core';
|
||||
import {RouteConfig} from 'angular2/router';
|
||||
|
||||
import {GoogleMaps} from './components/googleMaps';
|
||||
|
||||
@Component({
|
||||
selector: 'maps',
|
||||
pipes: [],
|
||||
providers: [],
|
||||
styles: [],
|
||||
template: `<router-outlet></router-outlet>`
|
||||
})
|
||||
@RouteConfig([
|
||||
{
|
||||
name: 'GoogleMaps',
|
||||
component: GoogleMaps,
|
||||
path: '/google-maps',
|
||||
useAsDefault: true
|
||||
},
|
||||
])
|
||||
export class Maps {
|
||||
|
||||
constructor() {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue