Blame view

src/router/routes/mainOut.ts 546 Bytes
1
2
3
4
5
/**
The routing of this file will not show the layout.
It is an independent new page.
the contents of the file still need to log in to access
 */
vben authored
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import type { AppRouteModule } from '/@/router/types';

// test
// http:ip:port/main-out
export const mainOutRoutes: AppRouteModule[] = [
  {
    path: '/main-out',
    name: 'MainOut',
    component: () => import('/@/views/demo/main-out/index.vue'),
    meta: {
      title: 'MainOut',
      ignoreAuth: true,
    },
  },
];

export const mainOutRouteNames = mainOutRoutes.map((item) => item.name);