routes.ts 584 B

1234567891011121314151617181920212223
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. import { personalSettingRoutes } from './views/PersonalSetting/plugins/index.ts'
  3. import type { RouteRecordRaw } from 'vue-router'
  4. const route: RouteRecordRaw[] = [
  5. {
  6. path: '/personal-setting',
  7. name: 'PersonalSettings',
  8. component: () => import('./views/PersonalSetting.vue'),
  9. meta: {
  10. title: __('Profile'),
  11. icon: 'person-gear',
  12. requiresAuth: true,
  13. requiredPermission: ['*'],
  14. level: 2,
  15. },
  16. children: personalSettingRoutes,
  17. },
  18. ]
  19. export default route