Client - add workouts list view
This commit is contained in:
@ -9,6 +9,7 @@ import LoginOrRegister from '@/views/LoginOrRegister.vue'
|
||||
import NotFoundView from '@/views/NotFoundView.vue'
|
||||
import StatisticsView from '@/views/StatisticsView.vue'
|
||||
import Workout from '@/views/Workout.vue'
|
||||
import Workouts from '@/views/WorkoutsView.vue'
|
||||
|
||||
const routes: Array<RouteRecordRaw> = [
|
||||
{
|
||||
@ -33,6 +34,11 @@ const routes: Array<RouteRecordRaw> = [
|
||||
name: 'Statistics',
|
||||
component: StatisticsView,
|
||||
},
|
||||
{
|
||||
path: '/workouts',
|
||||
name: 'Workouts',
|
||||
component: Workouts,
|
||||
},
|
||||
{
|
||||
path: '/workouts/:workoutId',
|
||||
name: 'Workout',
|
||||
|
Reference in New Issue
Block a user