Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-20 10:59:21 +08:00

perf: 移除暂未大量使用的 vxe-table-plugin-element 插件

This commit is contained in:
pany 2024-11-29 18:37:12 +08:00
parent ff5dcd66f1
commit 51823f8c6a
5 changed files with 1 additions and 18 deletions

View File

@ -31,7 +31,6 @@
"vue": "3.5.13",
"vue-router": "4.5.0",
"vxe-table": "4.6.25",
"vxe-table-plugin-element": "4.0.4",
"xe-utils": "3.5.32"
},
"devDependencies": {

12
pnpm-lock.yaml generated
View File

@ -56,9 +56,6 @@ importers:
vxe-table:
specifier: 4.6.25
version: 4.6.25(vue@3.5.13(typescript@5.6.3))
vxe-table-plugin-element:
specifier: 4.0.4
version: 4.0.4(vxe-table@4.6.25(vue@3.5.13(typescript@5.6.3)))
xe-utils:
specifier: 3.5.32
version: 3.5.32
@ -3961,11 +3958,6 @@ packages:
typescript:
optional: true
vxe-table-plugin-element@4.0.4:
resolution: {integrity: sha512-TKhx4Bi45kdXRa9PyjdDtOjQuA9We+ASDdZez/d3DB7p2tFvBwVNnyvwYHT+kJntAeq0pOchmhsYhZeVADMAuw==}
peerDependencies:
vxe-table: ^4.5.0
vxe-table@4.6.25:
resolution: {integrity: sha512-rFhGh8w+420cdnIasQKisiKagz9F/iNieB/z6v0j4GcsMfGHEmSJ72YrHcXogQh4wNlCzKVfb7rl7nREL5eIOg==}
peerDependencies:
@ -8448,10 +8440,6 @@ snapshots:
optionalDependencies:
typescript: 5.6.3
vxe-table-plugin-element@4.0.4(vxe-table@4.6.25(vue@3.5.13(typescript@5.6.3))):
dependencies:
vxe-table: 4.6.25(vue@3.5.13(typescript@5.6.3))
vxe-table@4.6.25(vue@3.5.13(typescript@5.6.3)):
dependencies:
dom-zindex: 1.0.6

View File

@ -11,7 +11,6 @@ import "normalize.css"
import "nprogress/nprogress.css"
import "element-plus/theme-chalk/dark/css-vars.css"
import "vxe-table/lib/style.css"
import "vxe-table-plugin-element/dist/style.css"
import "@@/assets/styles/index.scss"
// 创建应用实例

View File

@ -1,8 +1,5 @@
import type { App } from "vue"
import VXETable from "vxe-table" // https://vxetable.cn/#/start/install
import VXETablePluginElement from "vxe-table-plugin-element" // https://github.com/x-extends/vxe-table-plugin-element
VXETable.use(VXETablePluginElement)
// 全局默认参数
VXETable.setConfig({

View File

@ -66,7 +66,7 @@ export default defineConfig(({ mode }) => {
manualChunks: {
vue: ["vue", "vue-router", "pinia"],
element: ["element-plus", "@element-plus/icons-vue"],
vxe: ["vxe-table", "vxe-table-plugin-element", "xe-utils"]
vxe: ["vxe-table", "xe-utils"]
}
}
},