ant-design-vue
ant-design-vue copied to clipboard
feat: Vue 3 Migration Build support
closes vueComponent/ant-design-vue#5765
First of all, thank you for your contribution! π
New feature please send pull request to feature branch, and rest to master branch. Pull request will be merged after one of collaborators approve. Please makes sure that these form are filled before submitting your pull request, thank you!
[δΈζηζ¨‘ζΏ / Chinese template]
This is a ...
- [x] New feature
- [x] Bug fix
- [ ] Site / document update
- [ ] Component style update
- [ ] TypeScript definition update
- [ ] Refactoring
- [ ] Code style optimization
- [ ] Branch merge
- [ ] Other (about what?)
What's the background?
Backwards-compatibility features in Vue 3 Migration Build conflict with ant-design-vue. Example: vueComponent/ant-design-vue#5765
API Realization (Optional if not new feature)
Adding compatConfig: { MODE: 3 } to component definitions signals to @vue/compat that none of these components rely on any Vue 2 features.
What's the effect? (Optional if not new feature)
The compatConfig component option is only used by @vue/compat to enable/disable compatibility features within the individual components.
Changelog description (Optional if not new feature)
- English description
Add
compatConfig: { MODE: 3 }to all component definitions to signal to@vue/compatnot to use any Vue 2 compatibility features. - Chinese description (optional)
Self Check before Merge
- [x] Doc is updated/provided or not needed
- [x] Demo is updated/provided or not needed
- [x] TypeScript definition is updated/provided or not needed
- [x] Changelog is provided or not needed
Additional Plan? (Optional if not new feature)
If this PR related with other PR or following info. You can type here.