Last 12 weeks · 0 commits
5 of 6 standards met
Describe the bug Hi, I am pretty new to the Vue and front end technology. This package is working very well but the package size is huge. I want the page to load this package from CDN. I am using jsDelivr here: https://www.jsdelivr.com/package/npm/qr-scanner-wechat But I have no idea how to set this up. I am using Vue 3 + ts + Vite + Pinia + Vue-router. I use vite-plugin-cdn-import to manage CDNs. The vite.config.ts are like below: In the Vue file, I imported scan like this: But after deploying it, I got the errrors: Reproduction Minimal System Info Used Package Manager pnpm Validations [X] Follow our Code of Conduct [X] Read the Contributing Guide. [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [X] The provided reproduction is a minimal reproducible of the bug.
Describe the bug See this upstream issue https://github.com/opencv/opencv_contrib/issues/3008 which is fixed in PR https://github.com/opencv/opencv_contrib/pull/3199, which is not merged https://github.com/opencv/opencv_contrib/pull/3237 until 2022/04, right before 4.6.0 is tagged on Jun 5, 2022. The previous release is 4.5.5 in 2021. Reproduction System Info Used Package Manager n/a Validations [X] Follow our Code of Conduct [X] Read the Contributing Guide. [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [X] The provided reproduction is a minimal reproducible of the bug. Contributions [ ] I am willing to submit a PR to fix this issue [ ] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
Repository: antfu/qr-scanner-wechat. Description: QR Code scanner in JS with Open CV and WeChat's Algorithm Stars: 403, Forks: 22. Primary language: JavaScript. Languages: JavaScript (94.9%), TypeScript (3%), Vue (1.8%), HTML (0.3%). License: MIT. Homepage: https://qrcode-wechat.netlify.app/ Latest release: v0.1.3 (3y ago). Open PRs: 0, open issues: 2. Last activity: 3y ago. Community health: 85%. Top contributors: antfu, robinWongM.