Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Fullstack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Madeleine Stenberg Jonassen
Fullstack
Commits
e343e969
Commit
e343e969
authored
1 year ago
by
Torbjørn Antonsen
Browse files
Options
Downloads
Patches
Plain Diff
fixed issues in app.vue, missing template and imports
parent
13976d4b
No related branches found
No related tags found
1 merge request
!38
fixed issues in app.vue, missing template and imports
Pipeline
#269508
passed
1 year ago
Stage: build
Stage: test
Stage: package
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
FullstackProsjekt/src/frontend/src/App.vue
+11
-1
11 additions, 1 deletion
FullstackProsjekt/src/frontend/src/App.vue
with
11 additions
and
1 deletion
FullstackProsjekt/src/frontend/src/App.vue
+
11
−
1
View file @
e343e969
...
@@ -2,11 +2,14 @@
...
@@ -2,11 +2,14 @@
import
{
RouterLink
,
RouterView
}
from
'
vue-router
'
;
import
{
RouterLink
,
RouterView
}
from
'
vue-router
'
;
import
{
onMounted
,
onUnmounted
,
watch
}
from
'
vue
'
;
import
{
onMounted
,
onUnmounted
,
watch
}
from
'
vue
'
;
import
{
getToken
,
setToken
,
removeToken
,
refreshAndStoreToken
}
from
'
@/tokenController.js
'
;
import
{
getToken
,
setToken
,
removeToken
,
refreshAndStoreToken
}
from
'
@/tokenController.js
'
;
import
Sidebar
from
"
@/components/shared/sidebar/Sidebar.vue
"
import
{
sidebarWidth
}
from
"
@/components/shared/sidebar/state.js
"
;
export
default
{
export
default
{
components
:
{
RouterLink
,
RouterView
},
components
:
{
RouterLink
,
RouterView
,
Sidebar
},
setup
()
{
setup
()
{
let
intervalId
=
null
;
let
intervalId
=
null
;
return
{
sidebarWidth
}
// Start interval for token refresh
// Start interval for token refresh
const
startInterval
=
()
=>
{
const
startInterval
=
()
=>
{
...
@@ -64,3 +67,10 @@ export default {
...
@@ -64,3 +67,10 @@ export default {
}
}
};
};
</
script
>
</
script
>
<
template
>
<Sidebar/>
<div
style=
"
{'margin-left': sidebarWidth}">
<RouterView
/>
</div>
</
template
>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment