Skip to content
Snippets Groups Projects
Commit 7c037538 authored by VIktorGrev's avatar VIktorGrev
Browse files

feat: adding shop and feedback in router

parent 455c6bf5
No related branches found
No related tags found
No related merge requests found
Pipeline #274077 failed
...@@ -16,16 +16,16 @@ const routes = [ ...@@ -16,16 +16,16 @@ const routes = [
component: () => import('../views/HomeView.vue'), component: () => import('../views/HomeView.vue'),
meta: { requiresAuth: true }, meta: { requiresAuth: true },
}, },
{
path: '/:pathMatch(.*)*',
name: 'not-found',
component: () => import('@/views/NotFoundView.vue'),
},
{ {
path: '/news', path: '/news',
name: 'news', name: 'news',
component: () => import('@/views/NewsView.vue'), component: () => import('@/views/NewsView.vue'),
}, },
{
path: 'leaderboard',
name: 'leaderboard',
component: () => import('@/views/LeaderboardView.vue'),
},
{ {
path: 'test', path: 'test',
name: 'test', name: 'test',
...@@ -36,6 +36,16 @@ const routes = [ ...@@ -36,6 +36,16 @@ const routes = [
name: 'roadmap', name: 'roadmap',
component: () => import('@/views/SavingGoalView/RoadmapView.vue'), component: () => import('@/views/SavingGoalView/RoadmapView.vue'),
}, },
{
path: 'feedback',
name: 'feedback',
component: () => import('@/views/FeedbackView.vue'),
},
{
path: 'shop',
name: 'shop',
component: () => import('@/views/ShopView.vue'),
},
{ {
path: 'admin', path: 'admin',
name: 'admin', name: 'admin',
...@@ -47,6 +57,11 @@ const routes = [ ...@@ -47,6 +57,11 @@ const routes = [
name: 'unauthorized', name: 'unauthorized',
component: () => import('@/views/UnauthorizedView.vue'), component: () => import('@/views/UnauthorizedView.vue'),
}, },
{
path: '/:pathMatch(.*)*',
name: 'not-found',
component: () => import('@/views/NotFoundView.vue'),
},
] ]
}, },
{ {
......
<template>
Hallo
</template>
\ No newline at end of file
<template>
Hallo
</template>
\ No newline at end of file
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