Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
EXSYS2021
da6
Hold Afstand
Commits
167b2cf8
Commit
167b2cf8
authored
Mar 28, 2021
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
website/studerende-dk/src/router/index.js
View file @
167b2cf8
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
'
)
}
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment