Skip to content

Commit 15666ed

Browse files
author
pixel
committed
清理多余包 element按需加载
1 parent d9678da commit 15666ed

File tree

4 files changed

+827
-78
lines changed

4 files changed

+827
-78
lines changed

web/babel.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
module.exports = {
22
presets: [
33
'@vue/cli-plugin-babel/preset'
4+
],
5+
"plugins": [
6+
[
7+
"component",
8+
{
9+
"libraryName": "element-ui",
10+
"styleLibraryName": "theme-chalk"
11+
}
12+
]
413
]
514
}

0 commit comments

Comments
 (0)