vue carousel
Carousel component for Vue.js inspired by Slick. More powerfull with each version, touch-friendly, written in Vue and Vanilla JS (without jQuery dependency).
受Slick启发的Vue.js轮播组件。 使用Vue和Vanilla JS(无jQuery依赖)编写的每个版本的触摸友好型功能更强大。
https://lukaszflorczak.github.io/vue-agile/
https://lukaszflorczak.github.io/vue-agile/
yarn add vue-agile
or
要么
npm install vue-agile
import Vue from 'vue'
import VueAgile from 'vue-agile'
Vue.use(VueAgile)
<template>
<main>
<agile>
<div class="slide">
<h3>slide 1</h3>
</div>
...
<div class="slide">
<h3>slide n</h3>
</div>
</agile>
</main>
</template>
翻译自: https://vuejsexamples.com/powerfull-carousel-component-for-vue-js/
vue carousel