import type { RouteRecordRaw } from 'vue-router' import { ErrorPage, Layout } from '@/router/constant' // 404 on a page export const ErrorPageRoute: RouteRecordRaw = { path: '/:path(.*)*', name: 'ErrorPage', component: Layout, meta: { title: 'ErrorPage', hideBreadcrumb: true, }, children: [ { path: '/:path(.*)*', name: 'ErrorPageSon', component: ErrorPage, meta: { title: 'ErrorPage', hideBreadcrumb: true, }, }, ], }