import { createRouter, createWebHistory } from 'vue-router'
import { getUserRouterBase } from './tenant'
import HomePage from './views/HomePage.vue'

export const router = createRouter({
  history: createWebHistory(getUserRouterBase()),
  routes: [
    { path: '/', component: HomePage },
    { path: '/:pathMatch(.*)*', redirect: '/' },
  ],
})

