vue-retina

a retinajs binding of vue2
4,342 7
Install
npm install vue-retina
Latest Version:0.1.11
Vue:2
License:MIT
Last Updated:Nov 13, 2018
Links: GitHub  ·  npm
Maintainer: wangbinyq

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="https://raw.githubusercontent.com/wangbinyq/vue-retina/HEAD/img" v-rjs="3">

Todo

  • change image size properly when image src is changed

License

MIT

Related Packages

@unpic/vue

Vue component for responsive, high-performance images.

110,580 2,093
vue-images

A simple lightbox component for displaying an array of images

2,612 209
vue-lazy-images

A plugin of lazy-load images for vue2.x

1,709
v-img

Vuejs plugin for image viewing

61,736 406
vue-responsive-image

A Vue component to manage responsive images

7,273 58

Version History

Version Released Vue License
0.1.11 ^2.3.3 MIT
0.1.10 ^2.3.3 MIT
0.1.9 ^2.3.3 MIT
0.1.8 ^2.3.3 MIT
0.1.7 ^2.3.3 MIT