Client - init user profile

This commit is contained in:
Sam
2021-10-13 17:29:12 +02:00
parent ea2357b80c
commit fa164345d5
6 changed files with 300 additions and 1 deletions

View File

@ -6,6 +6,7 @@ import AddWorkout from '@/views/AddWorkout.vue'
import Dashboard from '@/views/DashBoard.vue'
import LoginOrRegister from '@/views/LoginOrRegister.vue'
import NotFoundView from '@/views/NotFoundView.vue'
import ProfileView from '@/views/ProfileView.vue'
import StatisticsView from '@/views/StatisticsView.vue'
import EditWorkout from '@/views/workouts/EditWorkout.vue'
import Workout from '@/views/workouts/Workout.vue'
@ -29,6 +30,11 @@ const routes: Array<RouteRecordRaw> = [
component: LoginOrRegister,
props: { action: 'register' },
},
{
path: '/profile',
name: 'Profile',
component: ProfileView,
},
{
path: '/statistics',
name: 'Statistics',