Ant-design-vue: 不支持Vue 3

Created on 26 Jan 2020  ·  1Comment  ·  Source: vueComponent/ant-design-vue

  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.4.10

Environment

latest macosx, latest chrome, vue 3.0.0-alpha.3

Reproduction link

http://baidu.com

Steps to reproduce

  • vue add vue-next
  • npm run serve

What is expected?

page works

What is actually happening?

page does not work, console output:

Uncaught TypeError: Cannot read property 'use' of undefined
at eval (Trigger.js?88ee:16)
at Module../node_modules/ant-design-vue/es/vc-trigger/Trigger.js (chunk-vendors.js:5027)
at __webpack_require__ (app.js:791)
at fn (app.js:151)
at eval (index.js?8496:1)
at Module../node_modules/ant-design-vue/es/vc-trigger/index.js (chunk-vendors.js:5039)
at __webpack_require__ (app.js:791)
at fn (app.js:151)
at eval (SubMenu.js?a3a2:1)
at Module../node_modules/ant-design-vue/es/vc-menu/SubMenu.js (chunk-vendors.js:3563)

Most helpful comment

vue3 尚未发布稳定版,在此之前可能无法直接对齐进行兼容,否则用户使用在生产环境可能会照成无法预料的问题。建议使用 2.x

>All comments

vue3 尚未发布稳定版,在此之前可能无法直接对齐进行兼容,否则用户使用在生产环境可能会照成无法预料的问题。建议使用 2.x

Was this page helpful?
0 / 5 - 0 ratings