|
|
@@ -2,6 +2,7 @@ import { NgModule } from '@angular/core';
|
|
|
import { RouterModule } from '@angular/router';
|
|
|
import { SharedModule } from '../shared/shared.module';
|
|
|
import { catalogRoutes } from './catalog.routes';
|
|
|
+import { ProductDetailComponent } from './components/product-detail/product-detail.component';
|
|
|
import { ProductListComponent } from './components/product-list/product-list.component';
|
|
|
|
|
|
@NgModule({
|
|
|
@@ -10,7 +11,7 @@ import { ProductListComponent } from './components/product-list/product-list.com
|
|
|
RouterModule.forChild(catalogRoutes),
|
|
|
],
|
|
|
exports: [],
|
|
|
- declarations: [ProductListComponent],
|
|
|
+ declarations: [ProductListComponent, ProductDetailComponent],
|
|
|
providers: [],
|
|
|
})
|
|
|
export class CatalogModule {
|