12345678910111213141516171819202122232425262728 |
- export const REDIRECT_NAME = 'Redirect';
- export const PARENT_LAYOUT_NAME = 'ParentLayout';
- export const PAGE_NOT_FOUND_NAME = 'PageNotFound';
- export const QIANKUN_ROUTE_NAME = 'MicroApp';
- export const EXCEPTION_COMPONENT = () => import('/@/views/sys/exception/Exception.vue');
- export const QIANKUN_COMPONENT = () => import('/@/views/sys/micro/index.vue');
- /**
- * @description: default layout
- */
- export const LAYOUT = () => import('/@/layouts/default/index.vue');
- /**
- * @description: parent-layout
- */
- export const getParentLayout = (_name?: string) => {
- return () =>
- new Promise((resolve) => {
- resolve({
- name: PARENT_LAYOUT_NAME,
- });
- });
- };
|