mirror of
https://github.com/baserow/baserow.git
synced 2026-12-04 08:18:42 +00:00
15 lines
318 B
JavaScript
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
|
|
},
|
|
},
|
|
]
|