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