File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,8 @@ Supported Resolvers:
138
138
- [ Varlet UI] ( https://github.com/antfu/vite-plugin-components/blob/master/src/resolvers/varlet-ui.ts )
139
139
- [ Vuetify] ( https://github.com/antfu/vite-plugin-components/blob/master/src/resolvers/vuetify.ts )
140
140
- [ VueUse Components] ( https://github.com/antfu/vite-plugin-components/blob/master/src/resolvers/vueuse.ts )
141
+ - [ View UI] ( https://github.com/antfu/vite-plugin-components/blob/main/src/resolvers/view-ui.ts )
142
+ - [ Element UI] ( https://github.com/antfu/vite-plugin-components/blob/main/src/resolvers/element-ui.ts )
141
143
142
144
``` ts
143
145
// vite.config.js
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ function getSideEffects(componentName: string) {
7
7
'popper.js/dist/umd/popper.js' ,
8
8
]
9
9
10
- if ( / ^ T a b l e / . test ( componentName ) )
10
+ if ( / ^ T a b l e | ^ S l i d e r | ^ T a b / . test ( componentName ) )
11
11
sideEffects . push ( 'element-resize-detector' )
12
12
13
13
if ( / ^ D a t e / . test ( componentName ) )
You can’t perform that action at this time.
0 commit comments