Skip to content

leepyng/vue2-photo-carousel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

vue2-photo-carousel

Photo display of a vue 2.0 component

Coverage Status

install

npm install vue2-photo-carousel --save-dev

how to use

template:
	 <PhotosBox :pics="photos" ></PhotosBox>

script:
	//import
	import PhotosBox from 'vue2-photo-carousel'
	
	//define
	components:{
		PhotosBox
	},
	//set default data
	data(){
		return{
			photos:['xx','xx']
		}
	}

props description

photos:photo address list

About

A component for photo carousel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages