Commit 167b2cf8 authored by Johan Tanderup Degn's avatar Johan Tanderup Degn
Browse files

Revert "Hopefully enabled direct access to subpages"

This reverts commit e7d14af5.
parent 607808d2
Pipeline #48596 passed with stage
in 42 seconds
import { createRouter, createWebHistory } from 'vue-router'
import Home from '../views/Home.vue'
import Courses from '../views/Courses.vue'
import Email from '../views/Email.vue'
import Calendar from '../views/Calendar.vue'
import Examportal from '../views/Examportal.vue'
import Settings from '../views/Settings.vue'
const routes = [
{
......@@ -15,27 +10,27 @@ const routes = [
{
path: '/courses',
name: 'Courses',
component: Courses
component: () => import('../views/Courses.vue')
},
{
path: '/email',
name: 'Email',
component: Email
component: () => import('../views/Email.vue')
},
{
path: '/calendar',
name: 'Calendar',
component: Calendar
component: () => import('../views/Calendar.vue')
},
{
path: '/examportal',
name: 'Examportal',
component: Examportal
component: () => import('../views/Examportal.vue')
},
{
path: '/settings',
name: 'Settings',
component: Settings
component: () => import('../views/Settings.vue')
}
]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment