| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- import type { AppRouteRecordRaw } from '/@/router/types';
- import { t } from '/@/hooks/web/useI18n';
- import { LAYOUT } from '/@/router/constant';
- export const ProductRoute: AppRouteRecordRaw = {
- path: '/product',
- name: 'Product',
- redirect: '/product/firmware',
- component: LAYOUT,
- meta: {
- title: t('routes.dashboard.product'),
- icon: 'la:file-invoice-dollar',
- orderNo: 90,
- },
- children: [
- {
- path: 'firmware',
- name: 'Firmware',
- component: () => import('/@/views/product/firmware/index.vue'),
- meta: {
- title: t('routes.dashboard.firmware'),
- },
- },
- {
- path: 'sdk',
- name: 'Sdk',
- component: () => import('/@/views/product/sdk/index.vue'),
- meta: {
- title: t('routes.dashboard.sdk'),
- },
- },
- {
- path: 'app',
- name: 'App',
- component: () => import('/@/views/product/app/index.vue'),
- meta: {
- title: t('routes.dashboard.app'),
- },
- },
- ],
- };
- export default ProductRoute;
|