import { createRouter, createWebHistory } from 'vue-router' import { getAdminRouterBase } from './tenant' import DashboardPage from './views/DashboardPage.vue' export const router = createRouter({ history: createWebHistory(getAdminRouterBase()), routes: [ { path: '/', component: DashboardPage }, { path: '/:pathMatch(.*)*', redirect: '/' }, ], })