npm

Need private packages and team management tools?Check out npm Orgs. »

@chenfengyuan/vue-carousel

1.0.2 • 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

540

version

1.0.2

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability