Skip to content

Commit

Permalink
perf: 移除冗余的 element plus css 完整导入
Browse files Browse the repository at this point in the history
  • Loading branch information
pany-ang committed Nov 29, 2024
1 parent 20cc088 commit 23f0c1b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/common/assets/styles/element-plus.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// 卡片
.el-card {
background-color: var(--el-bg-color);
background-color: var(--el-bg-color) !important;
}

// 分页
Expand Down
1 change: 0 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import App from "@/App.vue"
// css
import "uno.css"
import "normalize.css"
import "element-plus/dist/index.css"
import "element-plus/theme-chalk/dark/css-vars.css"
import "vxe-table/lib/style.css"
import "vxe-table-plugin-element/dist/style.css"
Expand Down

0 comments on commit 23f0c1b

Please sign in to comment.