@qneyraud/q-image
v1.2.3
Published
Vue component for images using picture tag, srcset and lazyload
Downloads
5
Readme
q-image
Vue component for images using picture tag, srcset and lazyload
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