Blame view

src/router/menus/modules/demo/charts.ts 746 Bytes
1
import type { MenuModule } from '/@/router/types';
2
import { t } from '/@/hooks/web/useI18n';
vben authored
3
4
5
6
const menu: MenuModule = {
  orderNo: 500,
  menu: {
7
    name: t('routes.demo.charts.charts'),
8
9
10
    path: '/charts',
    children: [
      {
vben authored
11
        path: 'apexChart',
12
        name: t('routes.demo.charts.apexChart'),
13
14
      },
      {
vben authored
15
        path: 'echarts',
16
17
18
        name: 'Echarts',
        children: [
          {
vben authored
19
            path: 'map',
20
            name: t('routes.demo.charts.map'),
21
22
          },
          {
vben authored
23
            path: 'line',
24
            name: t('routes.demo.charts.line'),
25
26
          },
          {
vben authored
27
            path: 'pie',
28
            name: t('routes.demo.charts.pie'),
29
30
31
32
33
34
35
          },
        ],
      },
    ],
  },
};
export default menu;