init
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
import { NamedRoutes } from '@/core';
|
||||
import { Routes } from '@angular/router';
|
||||
|
||||
export type TGuildGoodsRouteNames = 'goods';
|
||||
|
||||
export const guildGoodsNamedRoutes: NamedRoutes<TGuildGoodsRouteNames> = {
|
||||
goods: {
|
||||
path: 'goods',
|
||||
loadComponent: () =>
|
||||
import('../../views/goods/list.component').then((m) => m.GuildGoodsComponent),
|
||||
// @ts-ignore
|
||||
meta: {
|
||||
title: 'کالاها',
|
||||
},
|
||||
},
|
||||
// goodCategory: {
|
||||
// path: 'good_categories/:categoryId',
|
||||
// loadComponent: () => import('../../views/categories/').then((m) => m.GuildComponent),
|
||||
// // @ts-ignore
|
||||
// meta: {
|
||||
// title: 'دستهبندی کالا',
|
||||
// },
|
||||
// },
|
||||
};
|
||||
|
||||
export const GUILD_GOODS_ROUTES: Routes = Object.values(guildGoodsNamedRoutes);
|
||||
Reference in New Issue
Block a user