ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

feat: Vue 3 Migration Build support

Open garretmh opened this issue 3 years ago β€’ 0 comments
trafficstars

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)

  1. English description Add compatConfig: { MODE: 3 } to all component definitions to signal to @vue/compat not to use any Vue 2 compatibility features.
  2. 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.

garretmh avatar Sep 19 '22 17:09 garretmh