|
|
@ -1,12 +1,14 @@ |
|
|
import type { RouteRecordRaw } from 'vue-router'; |
|
|
import type { RouteRecordRaw } from 'vue-router'; |
|
|
|
|
|
|
|
|
import { |
|
|
import { |
|
|
|
|
|
VBEN_ANT_PREVIEW_URL, |
|
|
VBEN_DOC_URL, |
|
|
VBEN_DOC_URL, |
|
|
VBEN_ELE_PREVIEW_URL, |
|
|
VBEN_ELE_PREVIEW_URL, |
|
|
VBEN_GITHUB_URL, |
|
|
VBEN_GITHUB_URL, |
|
|
VBEN_LOGO_URL, |
|
|
VBEN_LOGO_URL, |
|
|
VBEN_NAIVE_PREVIEW_URL, |
|
|
VBEN_NAIVE_PREVIEW_URL, |
|
|
} from '@vben/constants'; |
|
|
} from '@vben/constants'; |
|
|
|
|
|
import { SvgAntdvLogoIcon } from '@vben/icons'; |
|
|
|
|
|
|
|
|
import { IFrameView } from '#/layouts'; |
|
|
import { IFrameView } from '#/layouts'; |
|
|
import { $t } from '#/locales'; |
|
|
import { $t } from '#/locales'; |
|
|
@ -53,6 +55,17 @@ const routes: RouteRecordRaw[] = [ |
|
|
title: $t('demos.vben.naive-ui'), |
|
|
title: $t('demos.vben.naive-ui'), |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
name: 'VbenAntdv', |
|
|
|
|
|
path: '/vben-admin/antdv', |
|
|
|
|
|
component: IFrameView, |
|
|
|
|
|
meta: { |
|
|
|
|
|
badgeType: 'dot', |
|
|
|
|
|
icon: SvgAntdvLogoIcon, |
|
|
|
|
|
link: VBEN_ANT_PREVIEW_URL, |
|
|
|
|
|
title: $t('demos.vben.antdv'), |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
name: 'VbenElementPlus', |
|
|
name: 'VbenElementPlus', |
|
|
path: '/vben-admin/ele', |
|
|
path: '/vben-admin/ele', |
|
|
|