Skip to content

Vant 3.0 RC 版本发布 🔥🔥🔥 #7035

@chenjiahan

Description

@chenjiahan

目前 Vant 已完成了对 Vue 3.0 的绝大部分适配工作,并发布了 Vant 3.0 RC 版本,欢迎大家在新项目中尝试 Vant 3.0。

背景知识

在使用 Vant 3.0 前,请先了解一下 Vue 3.0 的变更内容:Vue 3.0 官方文档

安装 Vant 3.0

#npm
npm i vant@next -S

# yarn
yarn add vant@next

安装完成后,请参考 Vant 3.0 的文档使用:

后续计划

我们计划在十二月发布 Vant 3.0 正式版,目前正在进行的工作有:

  • 对外提供 Vant 内部使用的 Composition API 模块,封装为 @vant/use 库(已完成)
  • 使用 Composition API 重构所有组件(已完成)
  • 使用 TypeScript 重构所有组件
  • 完善单元测试并修复发现的问题
  • 增加新组件和更多 Feature

注意事项

  1. Sku 组件还未完成 Vue 3 适配,因此在 Vant 3.0 RC 版本中暂时不可用
  2. beta 版本迭代过程中可能会引入少量的不兼容改动,在升级时请仔细阅读更新日志

视觉规范升级

近期我们还发布了 Vant 视觉规范 3.0,详见:Vant 设计规范 3.0 发布

问题反馈

使用 Vant 3.0 过程中遇到问题时,请通过 issue 的形式进行反馈~

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions