product grid creating
This commit is contained in:
@@ -7,13 +7,23 @@ const coreRoutes: Routes = [
|
||||
path: '',
|
||||
loadComponent: () => import('./pages/home/home.component').then(m => m.HomeComponent)
|
||||
},
|
||||
{
|
||||
path: 'catalog',
|
||||
loadComponent: () => import('./features/website/catalog/containers/catalog-container.component').then(m => m.CatalogContainerComponent)
|
||||
},
|
||||
{
|
||||
path: 'catalog/:id',
|
||||
loadComponent: () => import('./features/website/catalog/containers/catalog-container.component').then(m => m.CatalogContainerComponent)
|
||||
},
|
||||
{
|
||||
path: 'category/:id',
|
||||
loadComponent: () => import('./pages/category/subcategories.component').then(m => m.SubcategoriesComponent)
|
||||
redirectTo: 'catalog/:id',
|
||||
pathMatch: 'full'
|
||||
},
|
||||
{
|
||||
path: 'category/:id/items',
|
||||
loadComponent: () => import('./pages/category/category.component').then(m => m.CategoryComponent)
|
||||
redirectTo: 'catalog/:id',
|
||||
pathMatch: 'full'
|
||||
},
|
||||
{
|
||||
path: 'item/:id',
|
||||
|
||||
Reference in New Issue
Block a user