1
0
mirror of https://gitlab.com/bramw/baserow.git synced 2024-11-21 23:37:55 +00:00
bramw_baserow/web-frontend/modules/dashboard/routes.js
2024-10-07 07:06:57 +00:00

15 lines
318 B
JavaScript

import path from 'path'
export const routes = [
{
name: 'dashboard-application',
path: '/dashboard/:dashboardId',
component: path.resolve(__dirname, 'pages/dashboard.vue'),
props(route) {
const p = { ...route.params }
p.dashboardId = parseInt(p.dashboardId)
return p
},
},
]