GUI2 Extract Topology view in to its own library
Change-Id: I45597d0902c99b5b3d606966866cc518011c54a0
diff --git a/web/gui2/src/main/webapp/app/onos-routing.module.ts b/web/gui2/src/main/webapp/app/onos-routing.module.ts
index 77bce5a..9cc5cc4 100644
--- a/web/gui2/src/main/webapp/app/onos-routing.module.ts
+++ b/web/gui2/src/main/webapp/app/onos-routing.module.ts
@@ -15,6 +15,7 @@
*/
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
+import { Gui2TopoLibModule } from 'gui2-topo-lib';
import { FmGui2LibModule } from 'fm-gui2-lib';
/**
@@ -78,11 +79,11 @@
path: 'meter',
loadChildren: 'app/view/meter/meter.module#MeterModule'
},
+ /* Comment out below section for running locally with 'ng serve' when developing */
{
path: 'topo2',
- loadChildren: 'app/view/topology/topology.module#TopologyModule'
+ loadChildren: 'gui2-topo-lib#Gui2TopoLibModule'
},
-/* Comment out below section for running locally with 'ng serve' when developing */
{
path: 'alarmTable',
loadChildren: 'fm-gui2-lib#FmGui2LibModule'