feat(frontend): Skelet voor de implementatie van views & services voor leerpaden aangemaakt.
This commit is contained in:
parent
30ec73a88d
commit
8b0fc4263f
7 changed files with 290 additions and 7 deletions
|
@ -13,6 +13,7 @@ import UserDiscussions from "@/views/discussions/UserDiscussions.vue";
|
|||
import UserClasses from "@/views/classes/UserClasses.vue";
|
||||
import UserAssignments from "@/views/classes/UserAssignments.vue";
|
||||
import authState from "@/services/auth/auth-service.ts";
|
||||
import LearningPathPage from "@/views/learning-paths/LearningPathPage.vue";
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(import.meta.env.BASE_URL),
|
||||
|
@ -99,6 +100,12 @@ const router = createRouter({
|
|||
component: SingleDiscussion,
|
||||
meta: { requiresAuth: true },
|
||||
},
|
||||
{
|
||||
path: "/learningPath/:hruid/:language",
|
||||
name: "LearningPath",
|
||||
component: LearningPathPage,
|
||||
meta: { requiresAuth: false }
|
||||
},
|
||||
{
|
||||
path: "/:catchAll(.*)",
|
||||
name: "NotFound",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue