Skip to content

Commit fa662bb

Browse files
authored
chore: typo customResolvers to customComponentResolvers (#29)
1 parent 39418c0 commit fa662bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ We have several built-in resolver for popular UI libraries like [Ant Design Vue]
107107

108108
```ts
109109
// vite.config.js
110-
import ViteComponents, {
110+
import ViteComponents, {
111111
AntDesignVueResolver,
112112
ElementPlusResolver,
113113
VantResolver,
@@ -117,7 +117,7 @@ export default {
117117
plugins: [
118118
/* ... */
119119
ViteComponents({
120-
customResolvers: [
120+
customComponentResolvers: [
121121
AntDesignVueResolver(),
122122
ElementPlusResolver(),
123123
VantResolver(),
@@ -137,7 +137,7 @@ export default {
137137
plugins: [
138138
/* ... */
139139
ViteComponents({
140-
customResolvers: [
140+
customComponentResolvers: [
141141
// example of importing Vant
142142
(name) => {
143143
// where `name` is always CapitalCase

0 commit comments

Comments
 (0)