import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'
import test from './module/test'
import myInfo from './module/myInfo'
const routes: Array<RouteRecordRaw> = [
    {
        path: '/echarts',
        name: 'echartsScreen',
        meta: {
          title: '',
          icon: '',
        },
        component: () => import('views/echarts/index.vue'),
      },
      {
        path: '/screen/sharePlatform',
        name: 'sharePlatform',
        meta: {
          title: '',
          icon: '',
        },
        component: () => import('views/screen/sharePlatform.vue'),
      },
]

const router = createRouter({
    // 路由模式
    history: createWebHashHistory(),
    routes
})

export default router
