router.ts 284 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 8 9 10 import type { RouteRecordRaw } from "vue-router"; import { createRouter, createWebHistory } from "vue-router"; const routes: RouteRecordRaw[] = [ { path: "/", component: () => import("./App.vue") } ]; export const router = createRouter({ history: createWebHistory(), routes, });