Skip to content

Commit aace726

Browse files
ffgeniusfuwb
andauthored
feat(playground): add antdv-next router link (#7532)
Co-authored-by: fuwb <fuwb@sunsharing.com.cn>
1 parent e6f6e54 commit aace726

File tree

1 file changed

+18
-1
lines changed
  • playground/src/router/routes/modules

1 file changed

+18
-1
lines changed

playground/src/router/routes/modules/vben.ts

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,19 @@ import type { RouteRecordRaw } from 'vue-router';
22

33
import {
44
VBEN_ANT_PREVIEW_URL,
5+
VBEN_ANTDV_NEXT_PREVIEW_URL,
56
VBEN_DOC_URL,
67
VBEN_ELE_PREVIEW_URL,
78
VBEN_GITHUB_URL,
89
VBEN_LOGO_URL,
910
VBEN_NAIVE_PREVIEW_URL,
1011
VBEN_TD_PREVIEW_URL,
1112
} from '@vben/constants';
12-
import { SvgAntdvLogoIcon, SvgTDesignIcon } from '@vben/icons';
13+
import {
14+
SvgAntdvLogoIcon,
15+
SvgAntdvNextLogoIcon,
16+
SvgTDesignIcon,
17+
} from '@vben/icons';
1318

1419
import { IFrameView } from '#/layouts';
1520
import { $t } from '#/locales';
@@ -56,6 +61,18 @@ const routes: RouteRecordRaw[] = [
5661
title: $t('demos.vben.antdv'),
5762
},
5863
},
64+
{
65+
name: 'VbenAntdVNext',
66+
path: '/vben-admin/antdv-next',
67+
component: IFrameView,
68+
meta: {
69+
badgeType: 'dot',
70+
icon: SvgAntdvNextLogoIcon,
71+
link: VBEN_ANTDV_NEXT_PREVIEW_URL,
72+
title: $t('demos.vben.antdv-next'),
73+
},
74+
},
75+
5976
{
6077
name: 'VbenNaive',
6178
path: '/vben-admin/naive',

0 commit comments

Comments
 (0)