Client - init workout detail w/ map (wip)

This commit is contained in:
Sam
2021-09-24 12:11:38 +02:00
parent e7fd6860d3
commit 695fa0d0f1
20 changed files with 1048 additions and 3 deletions

View File

@ -5,6 +5,7 @@ import { USER_STORE } from '@/store/constants'
import Dashboard from '@/views/DashBoard.vue'
import LoginOrRegister from '@/views/LoginOrRegister.vue'
import NotFoundView from '@/views/NotFoundView.vue'
import Workout from '@/views/Workout.vue'
const routes: Array<RouteRecordRaw> = [
{
@ -24,6 +25,11 @@ const routes: Array<RouteRecordRaw> = [
component: LoginOrRegister,
props: { action: 'register' },
},
{
path: '/workouts/:workoutId',
name: 'Workout',
component: Workout,
},
{ path: '/:pathMatch(.*)*', name: 'not-found', component: NotFoundView },
]