rx-ts / vue

Make Vue greater with RxTS.

Home Page:https://vue-rx.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error while compiling.

malaimoo opened this issue · comments

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",

un support for vue2.0

commented

can you support for vue2.0

@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