diff --git a/client/src/router/index.ts b/client/src/router/index.ts index f227a9e9..15df7fb6 100644 --- a/client/src/router/index.ts +++ b/client/src/router/index.ts @@ -1,6 +1,5 @@ import { createRouter, createWebHistory } from 'vue-router' import HomeView from '../views/HomeView.vue'; -import learningPathRoutes from './learningpath.routes' import {redirectToLoginIfRequired, updateLoggedIn} from '@/router/guards'; const loginUrl = '/sso/login/' @@ -13,7 +12,6 @@ const router = createRouter({ name: 'home', component: HomeView, meta: { - layout: 'NoNavbarDemoLayout', public: true } }, @@ -32,9 +30,12 @@ const router = createRouter({ component: () => import('../views/ProfileView.vue'), }, { - path: '/learningpath', - component: () => import('../views/LearningPath.vue'), - children: learningPathRoutes + path: '/learningpath/:learningPathId', + component: () => import('../views/LearningPathOverview.vue'), + }, + { + path: '/learningpath/:learningPathId/circle/:circleId', + component: () => import('../views/CircleView.vue'), } ] })