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(), routes, }); export default router;