vue-retina
v0.1.11
Published
a retinajs binding of vue2
Downloads
149
Maintainers
Readme
Retinajs Binding of Vue
Install
With Yarn:
yarn add vue-retina
With npm:
npm install vue-retina --save
Usage
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">
Todo
- [ ] change image size properly when image src is changed
License
MIT