vue2-photo-carousel
v1.0.2
Published
a photo carousel component
Downloads
1
Readme
vue-photo-carousel
Photo display of a vue 2.0 component
install
npm install vue-photo-carousel --save
how to use
template:
<PhotosBox :pics="photos" ></PhotosBox>
script:
//import
import PhotosBox from 'vue-photo-carousel'//图片查看器
//define
components:{
PhotosBox
},
//set default data
data(){
return{
photos:['xx','xx']
}
}
props description
photos:photo address list