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