Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 616 Bytes

README.md

File metadata and controls

49 lines (33 loc) · 616 Bytes

q-image

Vue component for images using picture tag, srcset and lazyload

Documentation

Install

yarn add @qneyraud/q-image

Usage

import QImage from '@qneyraud/q-image'
import '@qneyraud/q-image/dist/QImage.css'

// or
import QImage from '@qneyraud/q-image/src/components/QImage'


export default {
  components: {
    QImage
  }
}

Development

# clone repo
git clone [email protected]:quentinneyraud/q-image.git
cd q-image

# install dependencies
yarn

# Run example
npm run serve

Build

npm run build-bundle