import { createRouter, createWebHistory, RouteRecordRaw } from "vue-router"; import HomeView from "../views/HomeView.vue"; const routes: Array = [ { path: "/", name: "home", component: HomeView, }, ]; const router = createRouter({ history: createWebHistory(process.env.BASE_URL), routes, }); export default router;