--- title: Guide --- ## Installation ``` bash npm install -S vue-carousel ``` ## Usage (Global) You may install Vue Carousel globally: ``` js import Vue from 'vue'; import VueCarousel from 'vue-carousel'; Vue.use(VueCarousel); ``` 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: ``` js import { Carousel, Slide } from 'vue-carousel'; export default { ... components: { Carousel, Slide } ... }; ``` ## HTML Structure Once the **Carousel** and **Slide** components are installed globally or imported, they can be used in templates in the following manner: ``` html Slide 1 Content Slide 2 Content ```