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 = [
component: () => import('../views/HomeView.vue'),
meta: { requiresAuth: true },
},
{
path: '/:pathMatch(.*)*',
name: 'not-found',
component: () => import('@/views/NotFoundView.vue'),
},
{
path: '/news',
name: 'news',
component: () => import('@/views/NewsView.vue'),
},
{
path: 'leaderboard',
name: 'leaderboard',
component: () => import('@/views/LeaderboardView.vue'),
},
{
path: 'test',
name: 'test',
......@@ -36,6 +36,16 @@ const routes = [
name: 'roadmap',
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',
name: 'admin',
......@@ -47,6 +57,11 @@ const routes = [
name: 'unauthorized',
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