mirror of
https://gitlab.com/bramw/baserow.git
synced 2024-11-21 23:37:55 +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
|
|
},
|
|
},
|
|
]
|