- aggiunto componenti per Home Template... ma ancora da provare
- sistemato catprods - Sistemato menu
This commit is contained in:
35
src/router/routes-admin.js
Normal file
35
src/router/routes-admin.js
Normal file
@@ -0,0 +1,35 @@
|
||||
// @ts-check
|
||||
export default [
|
||||
{
|
||||
path: '/admin',
|
||||
component: () => import('src/pages/admin/AdminLayout.vue'),
|
||||
children: [
|
||||
{
|
||||
active: true,
|
||||
path: '',
|
||||
name: 'admin-dashboard',
|
||||
component: () => import('src/pages/admin/AdminDashboard.vue'),
|
||||
},
|
||||
{
|
||||
active: true,
|
||||
path: 'home',
|
||||
name: 'admin-home',
|
||||
component: () => import('src/pages/admin/AdminHomeEditor.vue'),
|
||||
},
|
||||
{
|
||||
active: true,
|
||||
path: 'events',
|
||||
name: 'admin-events',
|
||||
component: () => import('src/pages/admin/AdminEvents.vue'),
|
||||
},
|
||||
{
|
||||
active: true,
|
||||
path: 'posts',
|
||||
name: 'admin-posts',
|
||||
component: () => import('src/pages/admin/AdminPosts.vue'),
|
||||
},
|
||||
],
|
||||
// Semplice guard opzionale (sostituisci con la tua auth reale)
|
||||
meta: { requiresAuth: false },
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user