github地址:https://wlada.github.io/vue-carousel-3d/

1.安装

npm install -S vue-carousel-3d

2.引入组件

import { Carousel3d, Slide } from 'vue-carousel-3d';
components: {Carousel3d,Slide},

3.页面使用

   <div>
      <carousel-3d :autoplay="true">
        <slide v-for="(slide, i) in slides" :key="i" :index="i">
          <template>
            <img :data-index="index" :src="slide.src">
          </template>
        </slide>
      </carousel-3d>
    </div>