-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
@vue/compat support #4368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
If you want to use vue3. you can use antd vue v2.2+. |
same issue |
Same issue, how did you solve it? |
@tangjinzhou |
Hi, @tangjinzhou ! Package versions:
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What problem does this feature solve?
We currently have a big project running Vue 2 and Antd Vue 1.7.6 and would like to upgrade to Vue 3.
Vue 3 provides migration build (@vue/compat) that helps migrating to new codebase. We were able to start the project under compatibility build with warnings to be fixed as expected, but some Antd components crash with errors. Possibly due to the usage of undocumented features (private component properties/methods etc.)
For example:
SubPopupMenu.js crashes with "Cannot read property 'propsData' of undefined"; Trigger.js crashes with "this.renderComponent is not a function"
Running with "MODE: 3" set in compatConfig leads to: "TypeError: Cannot read property 'getPrefixCls' of undefined" for empty.js
What does the proposed API look like?
Antd Vue v1 should be tested against migration build and errors should be fixed thus making it possible to migrate to Vue 3.
The text was updated successfully, but these errors were encountered: