mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-05-17 14:22:02 +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
|
||
|
},
|
||
|
},
|
||
|
]
|