Client - display segment

This commit is contained in:
Sam
2021-09-27 10:01:17 +02:00
parent de32c136b6
commit b7b2eb0daf
12 changed files with 413 additions and 110 deletions

View File

@ -29,6 +29,13 @@ const routes: Array<RouteRecordRaw> = [
path: '/workouts/:workoutId',
name: 'Workout',
component: Workout,
props: { displaySegment: false },
},
{
path: '/workouts/:workoutId/segment/:segmentId',
name: 'WorkoutSegment',
component: Workout,
props: { displaySegment: true },
},
{ path: '/:pathMatch(.*)*', name: 'not-found', component: NotFoundView },
]