34 lines
737 B
TypeScript
34 lines
737 B
TypeScript
import type { RouteRecordRaw } from 'vue-router'
|
|
|
|
const Dashboard: RouteRecordRaw = {
|
|
name: 'dashboard',
|
|
path: '/dashboard',
|
|
component: () => import('@core/layouts/BasicLayout.vue'),
|
|
redirect: { name: 'dashboardMain' },
|
|
meta: {
|
|
icon: 'vuesax-linear:home-2',
|
|
title: 'میز کار',
|
|
disabled: false,
|
|
hideMenu: false,
|
|
hideChildren: true,
|
|
order: 1
|
|
},
|
|
children: [
|
|
{
|
|
name: 'dashboardMain',
|
|
path: '',
|
|
component: () => import('@/pages/dashboard/index.vue'),
|
|
meta: {
|
|
icon: 'vuesax-linear:home-2',
|
|
order: 1,
|
|
title: 'میز کار',
|
|
disabled: false,
|
|
hideMenu: true
|
|
//hideChildren: false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
|
|
export default Dashboard
|