Guide
Installation
1 | npm install -S vue-ctk-carousel |
Usage (Global)
You may install Vue Carousel globally:
1 | import Vue from 'vue'; |
This will make <carousel> and <slide> available to all components within your Vue app.
Usage (Local)
Include the carousel directly into your component using import:
1 | import { Carousel, Slide } from 'vue-ctk-carousel'; |
HTML Structure
Once the Carousel and Slide components are installed globally or imported, they can be used in templates in the following manner:
1 | <carousel> |