Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

会支持VUE3.x吗? #82

Closed
Suzichen opened this issue Oct 28, 2020 · 13 comments
Closed

会支持VUE3.x吗? #82

Suzichen opened this issue Oct 28, 2020 · 13 comments

Comments

@Suzichen
Copy link

会支持VUE3.x吗?

@Binaryify
Copy link
Owner

现在vue3.0下使用会报错吗,会的话我周末看看,不会的话我过段时间升级下

@johnseed
Copy link

现在vue3.0下使用会报错吗,会的话我周末看看,不会的话我过段时间升级下

image
试了一下Vue3 + Vite不行哦

@wangzl8128
Copy link

亲,是否改成支持vue3 了呢?

@Binaryify
Copy link
Owner

v2.4.0支持了,import 需要改一下
import vueQr from 'vue-qr/src/packages/vue-qr.vue'

@ETTTTT
Copy link

ETTTTT commented May 6, 2021

现在光下载binaryify-awesome-qr包内依赖的"canvas": "https://github.com/Automattic/node-canvas.git#6fae569fc5e2ca2d5d81c9d15a0fe49bfb993b51",
需要12分钟

@Binaryify
Copy link
Owner

@ETTTTT 再试试

@ETTTTT
Copy link

ETTTTT commented May 7, 2021

你可以试试本地 npm install vue-qr@2.4.0 测试下速度,我这边是需要10几分钟,2.3.0版本没问题

@Binaryify
Copy link
Owner

Binaryify commented May 7, 2021

我昨天把魔改的awesome-qr 的canvas的依赖去掉了,你当时应该有缓存,你现在再试试
@ETTTTT

@Binaryify
Copy link
Owner

目前vite下使用还有点问题,周日我修复下

@Binaryify
Copy link
Owner

vite/vue3 下使用应该好了
image

@Ming-Jie
Copy link

Ming-Jie commented Jun 29, 2021

我用的vue3+vite2+typescript
在2.5.0中报
微信截图_20210629202733
卸载后,尝试安装2.4.0安装不上去...

@Tinyuen
Copy link

Tinyuen commented Sep 22, 2021

@Ming-Jie 同样的问题

@Binaryify
Copy link
Owner

v3.1.0 正式支持vite了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants