routes.ts 775 B

123456789101112131415161718192021222324252627282930313233343536
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. import type { RouteRecordRaw } from 'vue-router'
  3. const route: RouteRecordRaw[] = [
  4. {
  5. path: '/dashboard',
  6. name: 'Dashboard',
  7. alias: '/',
  8. props: true,
  9. component: () => import('./views/Dashboard.vue'),
  10. meta: {
  11. title: __('Dashboard'),
  12. requiresAuth: true,
  13. icon: 'speedometer2',
  14. requiredPermission: ['*'],
  15. order: 0,
  16. level: 1,
  17. },
  18. },
  19. {
  20. path: '/playground',
  21. name: 'Playground',
  22. props: true,
  23. component: () => import('./views/Playground.vue'),
  24. meta: {
  25. title: 'Playground',
  26. icon: 'logo-flat',
  27. requiresAuth: true,
  28. requiredPermission: ['*'],
  29. order: 500,
  30. },
  31. },
  32. ]
  33. export default route