@chenfengyuan/vue-carousel

    1.0.6 • Public • Published

    vue-carousel

    Build Status Downloads Version

    Carousel component for Vue.js.

    Main

    dist/
    ├── vue-carousel.js        (UMD)
    ├── vue-carousel.min.js    (UMD, compressed)
    ├── vue-carousel.common.js (CommonJS, default)
    └── vue-carousel.esm.js    (ES Module)
    

    Getting started

    Installation

    npm install vue vue-template-compiler @chenfengyuan/vue-carousel

    In browser:

    <script src="/path/to/vue.js"></script><!-- Vue.js is required -->
    <script src="/path/to/vue-carousel.js"></script><!-- Register automatically once loaded -->

    Usage

    import Vue from 'vue';
    import VueCarousel from '@chenfengyuan/vue-carousel';
    
    Vue.use(VueCarousel);
    // Or
    Vue.component(VueCarousel.name, VueCarousel);
    // Or
    Vue.component('vue-carousel', VueCarousel);
    <carousel :data="['Slide 1', 'Slide 2', 'Slide 3']"></carousel>

    Browser support

    • Chrome (latest)
    • Firefox (latest)
    • Safari (latest)
    • Opera (latest)
    • Edge (latest)
    • Internet Explorer 9+

    License

    MIT © Chen Fengyuan

    Install

    npm i @chenfengyuan/vue-carousel

    DownloadsWeekly Downloads

    1,242

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    142 kB

    Total Files

    11

    Last publish

    Collaborators

    • chenfengyuan