rx-ts / vue Goto Github PK
View Code? Open in Web Editor NEWMake Vue greater with RxTS.
Home Page: https://vue-rx.vercel.app
License: MIT License
Make Vue greater with RxTS.
Home Page: https://vue-rx.vercel.app
License: MIT License
vue.common.js?e881:560 [Vue warn]: Error compiling template:
<div>
<canvas
:style="{height: size + 'px', width: size + 'px'}"
height={{size}}
width={{size}}
v-el:qr
></canvas>
</div>
- height="{{size}}": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div id="{{ val }}">, use <div :id="val">.
- width="{{size}}": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div id="{{ val }}">, use <div :id="val">.
(found in <Qrcode>)
in vue 2.1.10 "vue-qrcode": "0.0.2",
import Qrcode from 'vue-qrcode'
后 报错
Hi - thanks for putting together this component! I'm attempting to use it in a Vue 2 project with TypeScript 3.9, and am getting the following error on compilation:
ERROR in /usr/src/app/ui/src/components/MyComponent.vue(35,23):
uiserver_1 | 35:23 Could not find a declaration file for module 'vue-qrious'. '/usr/src/app/ui/node_modules/vue-qrious/lib/cjs.js' implicitly has an 'any' type.
uiserver_1 | Try `npm install @types/vue-qrious` if it exists or add a new declaration (.d.ts) file containing `declare module 'vue-qrious';`
uiserver_1 | > 35 | import VueQrious from 'vue-qrious';
I can work around this by creating a custom .d.ts
file in my project with declare module 'vue-qrious';
. However, according to the package.json
, a types
attribute is declared.
I was wondering if the built package could be updated to export the type definitions. Thanks!
it seems doesn't support vue 2.0.
How can I download the image I generate with component ?
I want on button click to download as a image file.
I noticed the component generates an image with src attribute, but its too big, i dont understand it
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: Cannot find preset's package (@)
In the VueQrcode documentation, it states that all props have default values. However, after installing version 2.2.2, I noticed that the color and type props require mandatory values.
In my opinion, it would be beneficial to maintain the default values for these props.
hi! how can i print the generated qrcode, for example with pdfmake, by putting it into a pdf file? or in any other way...? thanks for your help!
RT...
results in
ERROR in ./node_modules/vue-qrcode/lib/index.js Module not found: Error: Can't resolve 'tslib' in '/project/node_modules/vue-qrcode/lib' @ ./node_modules/vue-qrcode/lib/index.js 1:0-41 88:68-74 104:23-31 104:32-40 @ ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/components/Profile.vue?vue&type=script&lang=js& @ ./resources/js/components/Profile.vue?vue&type=script&lang=js& @ ./resources/js/components/Profile.vue @ ./resources/js/routes.js @ ./resources/js/app.js @ multi ./resources/js/app.js ./resources/sass/app.scss
支持vue2.0吗?
Tried to install 1.0.0 version but can not have success. But 0.4.0 is OK.
This dependency was not found:
* vue-qrcode in ./node_modules/babel-loader/lib??ref--2-0!./node_modules/@nuxt/webpack/node_modules/vue-loader/lib??vue-loader-options!./renderer/components/order-window/Receipt.vue?vue&type=script&lang=js&
@xiaokaike 我看这个 npm 包已经两三年没维护了,如果可以的话希望可以使用这个包名,不至于让这个挺好的名字浪费了。
如有冒犯,请见谅。
Where is the qr.js
the demo:
<vue-qrcode
value="https://www.1stg.me"
@change="onDataUrlChange"
/>
the error:
[Vue warn]: Missing required prop: "color"
Vue warn]: Missing required prop: "type"
change demo:
data() {
return {
qrcode: {
color: {
dark: 'black', // 设置二维码的主要颜色
light: 'white' // 设置二维码的背景颜色
}
},
codeText: 'test qrcode text',
no error, but there is no a qrcode in the page
I am encountering an error in Nuxt 3 when trying to import VueQrcode in the plugins. The code I used is import VueQrcode from "vue-qrcode"; export default defineNuxtPlugin(nuxtApp => { nuxtApp.vueApp.component("vue-qrcode", VueQrcode)}).
However, upon starting, I receive an error message: [nuxt] [request error] [unhandled] [500] The requested module 'qrcode' does not provide an export named 'QRCodeSegment'. The version I am using is "vue-qrcode": "^2.2.1"
First of all, thank you for your great work...!
As a default, a generated QR code has a file name as "download.png" when a user drag a QR code out from the browser.
Is there any way to make the default file name to be different...?
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These problems occurred while renovating this repository. View logs.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
.github/workflows/ci.yml
actions/checkout v4
actions/setup-node v4
codecov/codecov-action v3
.github/workflows/codeql.yml
actions/checkout v4
github/codeql-action v3
github/codeql-action v3
github/codeql-action v3
.github/workflows/pkg-size.yml
actions/checkout v4
actions/setup-node v4
pkg-size/action v1
.github/workflows/release.yml
actions/checkout v4
actions/setup-node v4
package.json
@1stg/app-config ^10.0.1
@changesets/changelog-github ^0.5.0
@changesets/cli ^2.27.1
@d-ts/vue ^1.0.0
@pkgr/rollup ^6.0.0
@types/lodash-es ^4.17.12
@types/node ^18.19.8
@types/qrcode ^1.5.5
@types/web ^0.0.135
@vitejs/plugin-vue-jsx ^3.1.0
less ^4.2.0
lodash-es ^4.17.21
postcss ^8.4.33
qrcode ^1.5.3
qrious ^4.0.2
rimraf ^5.0.5
rxjs ^7.8.1
sass ^1.70.0
type-coverage ^2.27.1
typescript ^5.3.3
vitepress ^1.0.0-rc.40
vue ^3.4.15
vue-tsc ^1.8.27
yarn-deduplicate ^6.0.2
prettier ^3.2.4
yarn 1.22.21
packages/vue-qrcode/package.json
tslib ^2.6.2
qrcode ^1.0.0
vue ^2.7.0 || ^3.0.0
packages/vue-qrious/package.json
tslib ^2.6.2
qrious ^4.0.0
vue ^2.7.0 || ^3.0.0
packages/vue-resizor/package.json
tslib ^2.6.2
vue ^2.7.0 || ^3.0.0
请问,
该组件为何不使用canvas.toDataURL()将canvas转为img,方便类似微信“长按识别二维码”的功能
(canvas无法长按识别)
Is there any way to save that generated qr code to the static folder in vue js, so that user will able to access the already generated qr code in other parts of app.
在有些安卓机上无法显示二维码
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.