vue carousel_适用于Vue.js的Powerfull Carousel组件

卫昊东
2023-12-01

vue carousel

敏捷 (vue-agile)

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依赖)编写的每个版本的触摸友好型功能更强大。

现场演示 (Live Demo)

https://lukaszflorczak.github.io/vue-agile/

https://lukaszflorczak.github.io/vue-agile/

安装 (Installation)

yarn add vue-agile

or

要么

npm install vue-agile

用法 (Usage)

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

 类似资料: