chore: 渲染器支持渲染 antdv
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
"@vtj/ui": "^0.11.5",
|
||||
"@vtj/utils": "^0.11.5",
|
||||
"@vtj/web": "^0.11.5",
|
||||
"ant-design-vue": "catalog:",
|
||||
"axios": "catalog:",
|
||||
"core-js": "catalog:",
|
||||
"element-plus": "catalog:",
|
||||
|
||||
@@ -5,6 +5,7 @@ import { VueQueryPlugin } from '@tanstack/vue-query';
|
||||
import * as VtjCharts from '@vtj/charts';
|
||||
import { IconsPlugin } from '@vtj/icons';
|
||||
import * as VtjUI from '@vtj/ui';
|
||||
import Antd from 'ant-design-vue';
|
||||
import ElementPlus from 'element-plus';
|
||||
|
||||
import App from './App.vue';
|
||||
@@ -36,7 +37,9 @@ Object.entries(VtjUI).forEach(([name, component]) => {
|
||||
Object.entries(VtjCharts).forEach(([name, component]) => {
|
||||
app.component(name, component);
|
||||
});
|
||||
|
||||
app
|
||||
.use(Antd)
|
||||
.use(ElementPlus)
|
||||
.use(IconsPlugin)
|
||||
.use(VueQueryPlugin)
|
||||
|
||||
Reference in New Issue
Block a user