p2p-explorer-web/src/router/router.ts
2025-01-09 16:18:47 +08:00

15 lines
487 B
TypeScript

import { createRouter, createWebHashHistory } from "vue-router";
import Index from "../pages/file/index.vue";
import Voice from "../pages/voice/webrtcVoice.vue";
import PointShader from "../pages/pointShader/pointShader.vue";
const router = createRouter({
history: createWebHashHistory(),
routes: [
{ path: "/", component: Index },
{ path: "/voice", component: Voice },
{ path: "/pointShader", component: PointShader },
],
});
export default router;