Retinajs Binding of Vue
With Yarn:
yarn add vue-retina
With npm:
npm install vue-retina --save
import Vue from 'vue/dist/vue.common.js'
import retina from 'retinajs'
import VueRetina from 'vue-retina'
Vue.use(VueRetina, {retina})
<img :src="img" v-rjs="3">
- change image size properly when image src is changed
MIT