13 lines
364 B
TypeScript
13 lines
364 B
TypeScript
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: '/' },
|
|
],
|
|
})
|
|
|