Popup pour état connexion sur avatar + Refonte views Dashboard + Ajout types depuis DiscordJS
This commit is contained in:
@@ -28,9 +28,28 @@ const router = createRouter({
|
||||
meta: { title: 'MainFrame | Discord', discordAuth: false },
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
path: 'dashboard',
|
||||
name: 'dashboard',
|
||||
component: () => import('../views/Discord/DashboardView.vue')
|
||||
component: () => import('../views/Discord/DashboardView.vue'),
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
name: 'dashboardMain',
|
||||
component: () => import('../views/Discord/Dashboard/MainView.vue')
|
||||
},
|
||||
{
|
||||
path: 'bot/:botId(\\d+)',
|
||||
name: 'dashboardBot',
|
||||
component: () => import('../views/Discord/Dashboard/BotView.vue'),
|
||||
props: true
|
||||
},
|
||||
{
|
||||
path: 'bot/:botId(\\d+)/guild/:guildId(\\d+)',
|
||||
name: 'dashboardGuild',
|
||||
component: () => import('../views/Discord/Dashboard/GuildView.vue'),
|
||||
props: true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: 'config',
|
||||
@@ -49,7 +68,7 @@ const router = createRouter({
|
||||
path: '/:pathMatch(.*)*',
|
||||
name: '404',
|
||||
component: () => import('../views/404View.vue'),
|
||||
meta: { title: 'MainFrame | 404' },
|
||||
meta: { title: 'MainFrame | 404' }
|
||||
}
|
||||
]
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user