You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
581 B
29 lines
581 B
|
3 years ago
|
import { DEFAULT_LAYOUT } from '../base';
|
||
|
|
import { AppRouteRecordRaw } from '../types';
|
||
|
|
|
||
|
|
const PROFILE: AppRouteRecordRaw = {
|
||
|
|
path: '/profile',
|
||
|
|
name: 'profile',
|
||
|
|
component: DEFAULT_LAYOUT,
|
||
|
|
meta: {
|
||
|
|
locale: 'menu.profile',
|
||
|
|
requiresAuth: true,
|
||
|
|
icon: 'icon-file',
|
||
|
|
order: 4,
|
||
|
|
},
|
||
|
|
children: [
|
||
|
|
{
|
||
|
|
path: 'basic',
|
||
|
|
name: 'Basic',
|
||
|
|
component: () => import('@/views/profile/basic/index.vue'),
|
||
|
|
meta: {
|
||
|
|
locale: 'menu.profile.basic',
|
||
|
|
requiresAuth: true,
|
||
|
|
roles: ['admin'],
|
||
|
|
},
|
||
|
|
},
|
||
|
|
],
|
||
|
|
};
|
||
|
|
|
||
|
|
export default PROFILE;
|