import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router';

export const basicRoutes = [
  {
    path: '/',
    name: 'Index',
    redirect: '/download',
  },
  {
    path: '/download',
    name: 'Download',
    component:()=>import('@/views/download/index.vue')
  },
] as RouteRecordRaw[]

const myRouter = createRouter({
  history: createWebHashHistory(),
  routes: basicRoutes
})

export default myRouter
