Newer
Older
smartKitchenFront / src / router / modules / example.js
Stephanie on 4 Nov 2022 644 bytes feat<*>: 引入echarts
/* Layout */
import Layout from '@/layout/Layout'

export const exampleRouters = [{
  path: 'example',
  component: Layout,
  redirect: '/exampleTable',
  name: 'Example',
  alwaysShow: true,
  meta: {
    title: '示例11',
    icon: 'icon-user' // 图标
  },
  children: [
    {
      path: '/exampleTable',
      name: 'ExampleTable',
      component: () => import('@/views/example/tableExample'),
      meta: { title: '表格示例', icon: '' }
    },
    {
      path: '/exampleChart',
      name: 'ExampleChart',
      component: () => import('@/views/example/chartExample'),
      meta: { title: '图表示例', icon: '' }
    }
  ]
}]