@gaiaz/vue-image-slider
v1.1.5
Published
[](https://www.npmjs.com/package/@gaiaz/vue-image-slider) [](https://www.npmjs.com/package/@gaiaz/vue-image-slider) [![GitHub]
Downloads
34
Maintainers
Readme
vue-image-slider
Vue.js simple image slider component
Installation
Yarn
yarn add @gaiaz/vue-image-slidernpm
npm install @gaiaz/vue-image-slider --saveUsage
See also examples
<template>
<div>
<image-slider v-model="slides">
Sample Text
</image-slider>
</div>
</template>
<script>
import ImageSlider from '@gaiaz/vue-image-slider'
import '@gaiaz/vue-image-slider/dist/image-slider.css'
export default {
data () {
return {
slides: [
'https://dummyimage.com/300&text=1',
'https://dummyimage.com/300&text=2'
]
}
},
components: {
ImageSlider
}
}
</script>Project setup
yarn installCompiles and hot-reloads for development
yarn run serveCompiles and minifies for production
yarn run buildLints and fixes files
yarn run lintRun unit tests
yarn run test:unit