Home >headlines >The official version of Ant Design Vue 3 is released, come and upgrade!

The official version of Ant Design Vue 3 is released, come and upgrade!

藏色散人
藏色散人forward
2022-04-06 17:27:526367browse

If you don’t call it Design, you would be embarrassed to say that you are a component library

No one cares how long it took you (almost half a year) or how many components you refactored (almost All), and no one cares that you released 17 alpha, 13 beta, and 7 rc versions.

I just want to know whether v3 supports CSS Var, RTL, big data card, whether the TS type is perfect, global setting component size, etc.

Yes, v3 is here for this. Of course, there are a lot of small functions, which will not be described again. Those who are interested can check the update log.

Change log link: https://www.antdv.com/docs/vue/changelog-cn

Okay, let’s talk about it, it’s not perfect yet The place to go:

1. Documentation, we all know it is very important, but it is really difficult to write it well

2. TS type, currently does not support slot prompts, Generic components, I want to wait for volar to be perfected before following up

3. Big data table, I'm sorry, we have made it an independent commercial component, https://surely.cool, like The world's top two component libraries are like MUI (formerly Material UI), but the component library exposes custom functions, and you can still use third-party libraries to implement simple versions of big data tables.

Regarding the first and second points above, if you have ideas or interests, you are very welcome to PR. But before I say it, review PR is a very picky thing, and it will inevitably not be subjective. Style preferences are not directed at anyone. Your efforts may be in vain. Don't come here if you are naive or want PR.

Regarding the third point, if your company is willing to spend a little money to support us and optimize your product experience, I can only say, thank you very much. If it is a personal project, does it have such a large amount of data? Or is it also supported? It’s okay to use open source, but it’s not impossible to use it.

About the upgrade document:

A copy was provided when the alpha version was released, and it is still available because there are no destructive updates and no new features. Upgrade issue.

Upgrade document link: https://www.antdv.com/docs/vue/migration-v3-cn

About 1.x, 2 Future plans for the .x version:

The 2.x version is a version that is upgraded to be compatible with Vue 3, but it does not make corresponding optimizations based on the characteristics of Vue 3, nor does it add much. For new features, we will archive this version and no longer release new patched versions. You can upgrade to the new 3.x version as soon as possible according to the upgrade documentation and enjoy the development convenience and new features brought by 3.x.

The 1.x version is a version that supports Vue 2. This version will not add new features, but will only fix "blocking bugs". When Vue 2 releases a new version compatible with Composition Api, we will reconsider it. Its final destination.

What is a blocking bug: It is a bug that cannot be circumvented no matter what. As of now, it can be said that there is no such bug.

To sum up: We can only say that we are very sorry for the historical version. Of course, you can repair and iterate it by yourself.

As I said before, today’s overtime upgrade is to catch more fish in the future.

Statement:
This article is reproduced at:唐金州. If there is any infringement, please contact admin@php.cn delete