Skip to content

Commit ef61034

Browse files
authored
Merge pull request #1904 from RyanGst/master
Update README.md with `@vitejs/plugin-vue` details
2 parents 9607a47 + 173ebd2 commit ef61034

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,21 @@ methods: {
180180
}
181181
```
182182

183+
## ⚠️ Build Tool Compatibility
184+
185+
**vue-multiselect requires Vue's Options API to function properly.** There are known issues with certain versions of `@vitejs/plugin-vue` that may inadvertently disable the Options API.
186+
187+
### Known Issue with @vitejs/plugin-vue
188+
189+
If you're experiencing issues after updating `@vitejs/plugin-vue` to version 5.2.2 or later, consider downgrading to version 5.2.1:
190+
191+
```bash
192+
npm install @vitejs/plugin-vue@5.2.1
193+
```
194+
195+
This issue occurs because changes in the plugin's configuration handling can disable the Options API even when not explicitly configured. See [issue #1901](https://github.com/shentao/vue-multiselect/issues/1901) for more details.
196+
197+
183198
## Special Thanks
184199

185200
Thanks to Matt Elen for contributing this version!

0 commit comments

Comments
 (0)