element-plus icon indicating copy to clipboard operation
element-plus copied to clipboard

Upgrade the Vue version to 3.4+ / 升级 Vue 的版本至 3.4+

Open warmthsea opened this issue 1 year ago • 14 comments

This is a PR that will continue to change until the following plans are completed. 这是一个持续更改的 PR,直至下面的计划完成.

  • [ ] Update related deps.
    • [x] vue
    • [ ] vite
    • [ ] ...
  • [ ] Fix type error.
  • [ ] Troubleshoot related errors.
  • [ ] Add defineSlots support for some component (IDE Slot Tips).
  • [ ] Add generic T support for some components.
  • [ ] Test.

warmthsea avatar Apr 17 '24 07:04 warmthsea

👋 @warmthsea, thank you for contributing element-plus.

  • You can comment with /label Components:[component_name] to add a label for which component you are working on.
  • You may join our Discord for staying tuned.

github-actions[bot] avatar Apr 17 '24 07:04 github-actions[bot]

Hello @warmthsea, thank you for contributing to element-plus, please see our guideline to see how to make contribution

github-actions[bot] avatar Apr 17 '24 07:04 github-actions[bot]

🧪 Playground Preview: https://element-plus.run/?pr=16546 Please comment the example via this playground if needed.

github-actions[bot] avatar Apr 17 '24 08:04 github-actions[bot]

Hi,我有个疑问。这会不会导致用户使用低版本Vue会出现某些问题呢?

kooriookami avatar Apr 18 '24 09:04 kooriookami

Hi,我有个疑问。这会不会导致用户使用低版本Vue会出现某些问题呢?

我觉得Vue3.3、3.4本身对于3.2来讲都没有什么破坏性的更新,都是feature、性能优化,补丁,但是相关库可能有潜在风险,因为相关库大概也要跟随升级版本,比如vue-macros与Vue3.3可能宏冲突、vueuse (升级后tsc至少跑出来几十个错误),当然这些都要处理。

warmthsea avatar Apr 18 '24 16:04 warmthsea

Hi,我有个疑问。这会不会导致用户使用低版本Vue会出现某些问题呢?

这是一个需要实际检验的问题

warmthsea avatar Apr 18 '24 16:04 warmthsea

感觉vite 和 vitepress 版本也应该升一下了~ what about vite and vitepress~

xxholly32 avatar Apr 29 '24 06:04 xxholly32