mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 06:29:20 +08:00
初始化项目
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
import type { RouteRecordRaw } from 'vue-router';
|
||||
|
||||
import { $t } from '#/locales';
|
||||
|
||||
const routes: RouteRecordRaw[] = [
|
||||
{
|
||||
meta: {
|
||||
icon: 'lucide:shopping-cart',
|
||||
order: 1,
|
||||
title: '电商数据中台',
|
||||
},
|
||||
name: 'Ecommerce',
|
||||
path: '/ecommerce',
|
||||
children: [
|
||||
{
|
||||
name: 'DataImport',
|
||||
path: '/data-import',
|
||||
component: () => import('#/views/ecommerce/data-import/index.vue'),
|
||||
meta: {
|
||||
icon: 'lucide:upload',
|
||||
title: '数据导入',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'DataAnalysis',
|
||||
path: '/data-analysis',
|
||||
component: () => import('#/views/ecommerce/data-analysis/index.vue'),
|
||||
meta: {
|
||||
icon: 'lucide:bar-chart-3',
|
||||
title: '数据分析',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'ShopManagement',
|
||||
path: '/shop-management',
|
||||
component: () => import('#/views/ecommerce/shop-management/index.vue'),
|
||||
meta: {
|
||||
icon: 'lucide:store',
|
||||
title: '店铺管理',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
export default routes;
|
||||
Reference in New Issue
Block a user