Browse Source
feat(playground): add antdv-next router link (#7532)
Co-authored-by: fuwb <fuwb@sunsharing.com.cn>
pull/7539/head
Bin
7 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
18 additions and
1 deletions
-
playground/src/router/routes/modules/vben.ts
|
|
|
@ -2,6 +2,7 @@ import type { RouteRecordRaw } from 'vue-router'; |
|
|
|
|
|
|
|
import { |
|
|
|
VBEN_ANT_PREVIEW_URL, |
|
|
|
VBEN_ANTDV_NEXT_PREVIEW_URL, |
|
|
|
VBEN_DOC_URL, |
|
|
|
VBEN_ELE_PREVIEW_URL, |
|
|
|
VBEN_GITHUB_URL, |
|
|
|
@ -9,7 +10,11 @@ import { |
|
|
|
VBEN_NAIVE_PREVIEW_URL, |
|
|
|
VBEN_TD_PREVIEW_URL, |
|
|
|
} from '@vben/constants'; |
|
|
|
import { SvgAntdvLogoIcon, SvgTDesignIcon } from '@vben/icons'; |
|
|
|
import { |
|
|
|
SvgAntdvLogoIcon, |
|
|
|
SvgAntdvNextLogoIcon, |
|
|
|
SvgTDesignIcon, |
|
|
|
} from '@vben/icons'; |
|
|
|
|
|
|
|
import { IFrameView } from '#/layouts'; |
|
|
|
import { $t } from '#/locales'; |
|
|
|
@ -56,6 +61,18 @@ const routes: RouteRecordRaw[] = [ |
|
|
|
title: $t('demos.vben.antdv'), |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
name: 'VbenAntdVNext', |
|
|
|
path: '/vben-admin/antdv-next', |
|
|
|
component: IFrameView, |
|
|
|
meta: { |
|
|
|
badgeType: 'dot', |
|
|
|
icon: SvgAntdvNextLogoIcon, |
|
|
|
link: VBEN_ANTDV_NEXT_PREVIEW_URL, |
|
|
|
title: $t('demos.vben.antdv-next'), |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
name: 'VbenNaive', |
|
|
|
path: '/vben-admin/naive', |
|
|
|
|