
Vue Carousel 3D
Beautiful, flexible and touch supported 3D Carousel for Vue.js
9.1K viewsAdded Jan 8, 2019
Vue Carousel 3D - Beautiful, flexible and touch supported 3D Carousel for Vue.js
Installation
npm install -S vue-carousel-3d
Usage
Usage (Global)
You may install Vue Carousel 3d globally:
import Vue from 'vue';
import Carousel3d from 'vue-carousel-3d';
Vue.use(Carousel3d);
This will make <carousel-3d> and <slide> available to all components within your Vue app.
Usage (Local)
Include the Carousel 3d into your component using import:
import { Carousel3d, Slide } from 'vue-carousel-3d';
export default {
...
components: {
Carousel3d,
Slide
}
...
};
HTML Structure
Once the Carousel3d and Slide components are installed globally or imported, they can be used in templates like below:
<carousel-3d>
<slide :index="0">
Slide 1 Content
</slide>
<slide :index="1">
Slide 2 Content
</slide>
</carousel-3d>




