feat(maps): add the gmaps and the leaflet component pages

This commit is contained in:
Alexander Zhukov 2017-05-06 20:02:26 +03:00
parent e5f3f211f9
commit 6d8d55c8cc
18 changed files with 180 additions and 27 deletions

View file

@ -4,7 +4,6 @@ import { NgModule } from '@angular/core';
import { PagesComponent } from './pages.component';
import { DashboardComponent } from './dashboard/dashboard.component';
import { ComponentsComponent } from './components/components.component';
import { MapsComponent } from './maps/maps.component';
import { ChartsComponent } from './charts/charts.component';
const routes: Routes = [{
@ -21,7 +20,7 @@ const routes: Routes = [{
component: ComponentsComponent,
}, {
path: 'maps',
component: MapsComponent,
loadChildren: './maps/maps.module#MapsModule',
}, {
path: 'charts',
component: ChartsComponent,