error.ts 334 B

12345678910
  1. import type { RouteRecordRaw } from 'vue-router'
  2. export const errorRoutes: RouteRecordRaw[] = [
  3. {
  4. path: '/:pathMatch(.*)*',
  5. name: 'Not Found',
  6. component: () => import('@/views/other/Error.vue'),
  7. meta: { name: () => $gettext('Not Found'), noAuth: true, status_code: 404, error: () => $gettext('Not Found') },
  8. },
  9. ]