vue-p-carousel
v2.0.7
Published
'this is a carousel component for vue'
Downloads
2
Readme
vue-p-carousel
carousel component for Vue
Installation
$ npm install vue-p-carousel
Usage
import Carousel from 'vue-p-carousel'
new Vue({
el: '#app',
data:{,
items:[
{
src:"...",
alt:"image-1"
},
{
src:"...",
alt:"image-2"
},
{
src:"...",
alt:"image-3"
}
]
},
components: {
Carousel: Carousel
},
})
<div id="app">
<carousel :items="items"></carousel>
</div>