routes.ts 802 B

12345678910111213141516171819202122232425262728293031323334353637
  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. permanentItem: true,
  18. },
  19. },
  20. {
  21. path: '/playground',
  22. name: 'Playground',
  23. props: true,
  24. component: () => import('./views/Playground.vue'),
  25. meta: {
  26. title: 'Playground',
  27. icon: 'logo-flat',
  28. requiresAuth: true,
  29. requiredPermission: ['*'],
  30. order: 500,
  31. },
  32. },
  33. ]
  34. export default route