vue-retina

0.1.11 • Public • Published

Retinajs Binding of Vue

Install

With Yarn:

yarn add vue-retina

With npm:

npm install vue-retina --save

Usage

example

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

Package Sidebar

Install

npm i vue-retina

Weekly Downloads

33

Version

0.1.11

License

MIT

Last publish

Collaborators

  • wangbinyq