Building  Large-Scale Web Applications with Angular
上QQ阅读APP看书,第一时间看更新

Updating App Routing module

One last step: return to app.routing-module.ts and remove the import of the WorkoutBuilderComponent and the route definition that points to the builder:{ path: 'builder', component: WorkoutBuilderComponent },.

Be sure to leave the import of the WorkoutBuilderModule  in app.module.ts unchanged. We'll discuss removing that in the next section when we cover lazy loading.