import {createRouter, createWebHashHistory} from "vue-router"; const routes = [ { path: "/", children: [ { path: "downloadTest", name: "downloadTest", component: () => import("../page/test/downloadTest.vue") }, { path: "medaInfoTest", name: "medaInfoTest", component: () => import("../page/test/getMediaInfoTest.vue") }, { path:"addVideo", component: ()=>import("../page/addVideo.vue") } ], component: () => import("../page/index.vue"), }, ] export const router = createRouter({ history: createWebHashHistory(), routes })