routes.inner.ts 579 B

1234567891011121314151617181920212223242526272829
  1. import type { RouteRecordRaw } from 'vue-router';
  2. import { $t } from '@/utils';
  3. export const routes: RouteRecordRaw[] = [
  4. {
  5. path: '/',
  6. name: 'root',
  7. redirect: '/appRoot',
  8. children: [],
  9. },
  10. {
  11. path: '/login',
  12. name: 'login',
  13. meta: {
  14. title: $t('page.login.title'),
  15. isWithoutTab: true,
  16. },
  17. component: () => import('@/views/login/index.vue'),
  18. },
  19. {
  20. path: '/:pathMatch(.*)*',
  21. name: 'not-found',
  22. meta: {
  23. title: '404',
  24. isWithoutTab: true,
  25. },
  26. component: () => import('@/views/error/404.vue'),
  27. },
  28. ];