Ajout page 404 + Style dashboard et d'autres trucs
This commit is contained in:
@@ -15,7 +15,7 @@ const router = createRouter({
|
||||
component: () => import('../views/Index/HomeView.vue')
|
||||
},
|
||||
{
|
||||
path: '/about',
|
||||
path: 'about',
|
||||
name: 'about',
|
||||
component: () => import('../views/Index/AboutView.vue')
|
||||
}
|
||||
@@ -25,7 +25,7 @@ const router = createRouter({
|
||||
path: '/discord',
|
||||
name: 'discord',
|
||||
component: () => import('../views/DiscordView.vue'),
|
||||
meta: { title: 'MainFrame | Discord', discordAuth: true },
|
||||
meta: { title: 'MainFrame | Discord', discordAuth: false },
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
@@ -33,11 +33,23 @@ const router = createRouter({
|
||||
component: () => import('../views/Discord/DashboardView.vue')
|
||||
},
|
||||
{
|
||||
path: '/config',
|
||||
path: 'config',
|
||||
name: 'config',
|
||||
component: () => import('../views/Discord/ConfigView.vue')
|
||||
},
|
||||
{
|
||||
path: 'logout',
|
||||
name: 'logout',
|
||||
component: () => import('../views/Discord/LogoutView.vue'),
|
||||
meta: { discordAuth: false }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/:pathMatch(.*)*',
|
||||
name: '404',
|
||||
component: () => import('../views/404View.vue'),
|
||||
meta: { title: 'MainFrame | 404' },
|
||||
}
|
||||
]
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user