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:
138138- [ Varlet UI] ( https://github.com/antfu/vite-plugin-components/blob/master/src/resolvers/varlet-ui.ts )
139139- [ Vuetify] ( https://github.com/antfu/vite-plugin-components/blob/master/src/resolvers/vuetify.ts )
140140- [ 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 )
141143
142144``` ts
143145// vite.config.js
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ function getSideEffects(componentName: string) {
77 'popper.js/dist/umd/popper.js' ,
88 ]
99
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 ) )
1111 sideEffects . push ( 'element-resize-detector' )
1212
1313 if ( / ^ D a t e / . test ( componentName ) )
You can’t perform that action at this time.
0 commit comments