Skip to content
Snippets Groups Projects
Commit 6a49cb92 authored by heikkkk's avatar heikkkk
Browse files

refactor: moved components

parent 120b3f3f
No related branches found
No related tags found
1 merge request!76Refactor/folder structure
...@@ -11,17 +11,17 @@ const routes = [ ...@@ -11,17 +11,17 @@ const routes = [
{ {
path: '', path: '',
name: 'home', name: 'home',
component: () => import('../views/SavingGoalView/RoadmapView.vue'), component: () => import('@/views/SavingGoal/RoadmapView.vue'),
}, },
{ {
path: 'news', path: 'news',
name: 'news', name: 'news',
component: () => import('@/views/NewsView.vue'), component: () => import('@/views/News/NewsView.vue'),
}, },
{ {
path: 'leaderboard', path: 'leaderboard',
name: 'leaderboard', name: 'leaderboard',
component: () => import('@/views/LeaderboardView.vue'), component: () => import('@/views/Leaderboard/LeaderboardView.vue'),
}, },
{ {
path: 'profile', path: 'profile',
...@@ -31,7 +31,7 @@ const routes = [ ...@@ -31,7 +31,7 @@ const routes = [
{ {
path: '/settings', path: '/settings',
name: 'settings', name: 'settings',
component: () => import('@/views/Settings/SettingsView.vue'), component: () => import('@/views/User/UserSettingsView.vue'),
children: [ children: [
{ {
path: '/settings/account', path: '/settings/account',
...@@ -63,17 +63,17 @@ const routes = [ ...@@ -63,17 +63,17 @@ const routes = [
{ {
path: 'roadmap', path: 'roadmap',
name: 'roadmap', name: 'roadmap',
component: () => import('@/views/SavingGoalView/RoadmapView.vue'), component: () => import('@/views/SavingGoal/RoadmapView.vue'),
}, },
{ {
path: 'feedback', path: 'feedback',
name: 'feedback', name: 'feedback',
component: () => import('@/views/FeedbackView.vue'), component: () => import('@/views/User/UserFeedbackView.vue'),
}, },
{ {
path: 'shop', path: 'shop',
name: 'shop', name: 'shop',
component: () => import('@/views/ShopView.vue'), component: () => import('@/views/Shop/ShopView.vue'),
}, },
{ {
path: '/budget-overview', path: '/budget-overview',
...@@ -100,12 +100,12 @@ const routes = [ ...@@ -100,12 +100,12 @@ const routes = [
{ {
path: 'unauthorized', path: 'unauthorized',
name: 'unauthorized', name: 'unauthorized',
component: () => import('@/views/UnauthorizedView.vue'), component: () => import('@/views/Exception/UnauthorizedView.vue'),
}, },
{ {
path: '/:pathMatch(.*)*', path: '/:pathMatch(.*)*',
name: 'not-found', name: 'not-found',
component: () => import('@/views/NotFoundView.vue'), component: () => import('@/views/Exception/NotFoundView.vue'),
}, },
] ]
}, },
...@@ -132,12 +132,12 @@ const routes = [ ...@@ -132,12 +132,12 @@ const routes = [
{ {
path: '/redirect', path: '/redirect',
name: 'redirect', name: 'redirect',
component: () => import('@/views/RedirectView.vue'), component: () => import('@/views/BankID/RedirectView.vue'),
}, },
{ {
path: '/configuration', path: '/configuration',
name: 'configuration', name: 'configuration',
component: () => import('@/views/ConfigurationView.vue'), component: () => import('@/views/Configuration/ConfigurationView.vue'),
children: [ children: [
{ {
path: '/commitment', path: '/commitment',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment