Skip to content

Commit 4cc114d

Browse files
authored
fix(view-ui): lost matches and update docs (#104)
1 parent cf15d3b commit 4cc114d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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

src/resolvers/view-ui.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function getSideEffects(componentName: string) {
77
'popper.js/dist/umd/popper.js',
88
]
99

10-
if (/^Table/.test(componentName))
10+
if (/^Table|^Slider|^Tab/.test(componentName))
1111
sideEffects.push('element-resize-detector')
1212

1313
if (/^Date/.test(componentName))

0 commit comments

Comments
 (0)