Skip to content

Upgrade ant-design-vue to version 3.x #6342

Closed

Description

@nvazquez

After upgrading to Vue3, have moved to ant-design-vue version 2.x. However it is now recommended to move to version 3.x:

https://www.antdv.com/docs/vue/migration-v3:

The 2.x version is a compatible version developed for compatibility with Vue 3. It does not bring many new features, and most of the API changes are only for better compatibility with Vue 3. The 3.x version has greatly improved performance, ease of use, and functions. After the 3.x version is stable, we will archive the 2.x version. It is recommended that you upgrade to the 3.x version as soon as possible. Although there are many changes, they are basically compatible. You can upgrade gradually according to the warnings given by the console.

ISSUE TYPE
  • Enhancement Request
COMPONENT NAME
UI

Activity

  1. added this to the 4.18.0.0 milestone on May 2, 2022
  2. nvazquez commented on May 2, 2022

    @nvazquez
    ContributorAuthor

    Hi @utchoang since you have done a great work on the Vue3 PR can you please check this one?

  3. eliran-natan commented on Jul 20, 2022

    @eliran-natan

    Is it possible to upgrade from Vue 2 to Vue 3 while still using Antd 1.7.8?
    Thanks!

  4. utchoang commented on Jul 20, 2022

    @utchoang

    @eliran-natan No, because Antd 1.7 only works with Vue 2, not support for Vue 3. When I migrate from Vue 2 -> 3, I have to upgrade the Antd version from 1->2 (refer to #5151)

  5. eliran-natan commented on Jul 20, 2022

    @eliran-natan

    Thank you! So this means that Antd version 2 would work with Vue2? (So we could do the upgrade step by step: first upgrade antd while still working with Vue2, and later on upgrade to Vue3).
    Will it be the same for antd version 3? :)

  6. utchoang commented on Jul 20, 2022

    @utchoang

    @eliran-natan If you want to use Antd version 2, you must use Vue 3. You can refer to https://2x.antdv.com/docs/vue/migration-v2

  7. eliran-natan commented on Jul 20, 2022

    @eliran-natan

    @utchoang, so this means that there cannot be a step-by-step upgrade.
    We have to move to Vue3 and to Antd2 on the same go...do you agree? :)

    • To update to Vue 3 I must have antd2
    • To update to antd2 I must have Vue3
  8. yadvr commented on Aug 17, 2022

    @yadvr
    Member

    We've already migrated to vue3, so it's about moving to andv 3.x now.

  9. modified the milestones: 4.18.0.0, 4.19.0.0 on Dec 26, 2022
  10. added a commit that references this issue on Apr 11, 2023
    3c25a35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions