gigafibre-fsm/apps/dispatch/src/router/index.js
louispaulb d6d3f123d2 merge: import dispatch-app into apps/dispatch/ (17 commits preserved)
Integrates the Dispatch PWA (Vue/Quasar) into the gigafibre-fsm monorepo.
Full git history accessible via `git log -- apps/dispatch/`.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 08:08:51 -04:00

17 lines
572 B
JavaScript

import { route } from 'quasar/wrappers'
import { createRouter, createWebHashHistory } from 'vue-router'
// Routes — add pages here; no change needed in stores or API
const routes = [
{ path: '/', component: () => import('pages/DispatchV2Page.vue') },
{ path: '/mobile', component: () => import('pages/MobilePage.vue') },
{ path: '/admin', component: () => import('pages/AdminPage.vue') },
]
export default route(function () {
return createRouter({
history: createWebHashHistory(process.env.VUE_ROUTER_BASE),
routes,
})
})