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>
17 lines
572 B
JavaScript
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,
|
|
})
|
|
})
|