Error while compiling.
malaimoo opened this issue · comments
malaimoo commented
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",
Wood × 3 commented
un support for vue2.0
ggsmd commented
can you support for vue2.0
JounQin commented
@malaimoo @xmflswood @lv23ji Please upgrade to 0.2.0, which is a complete rewrite from scratch, which supports Vue@2.0
.
Online DEMO: https://rx-vue.now.sh