Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

vue-piuma

lotrekagency23MIT1.1.1

Vue component for Piuma Image optimizer

vue, image, optmizer, piuma, javascript, fast

readme

Vue-piuma

Vue component for Piuma Image optimizer

Install

yarn add vue-piuma

CDN: UNPKG | jsDelivr (available as window.VuePiuma)

Usage

<template>
  <vue-piuma src="YOUR URL" height="YOUR HEIGHT" width="YOUR WIDTH" quality="YOUR QUALITY" ></vue-piuma>
</template>

<script>
import VuePiuma from 'vue-piuma'

export default {
  components: {
    VuePiuma
  }
}
</script>

Test

yarn test

More on Piuma

Piuma Image Optimizer

License

MIT © lotrekagency