Splide Carousel & Slider Component For Vue

Description:

A Vue wrapper around the Splide library that enables developers to create lightweight, powerful, and flexible slider and carousel in Vue.js.

How to use it:

1. Import and register the VueSplide into your Vue project.

import Vue from 'vue';

// globally
import VueSplide from '@splidejs/vue-splide';
Vue.use( VueSplide );

// locally
import { Splide, SplideSlide } from '@splidejs/vue-splide';
export default {
  components: {
    Splide,
    SplideSlide,
  },
}

2. Import a theme of your choice as follows:

import ‘@splidejs/splide/dist/css/themes/splide-default.min.css’;
import ‘@splidejs/splide/dist/css/themes/splide-sea-green.min.css’;
import ‘@splidejs/splide/dist/css/themes/splide-skyblue.min.css’;

3. Create a basic carousel.

<splide>
  <splide-slide>
    <img src="1.jpg">
  </splide-slide>
  <splide-slide>
    <img src="2.jpg">
  </splide-slide>
  <splide-slide>
    <img src="3.jpg">
  </splide-slide>
</splide>
export default { 
  data() {
    return {
      options: {
        // options here
      },
    };
  },
}

4. Refer to the Splide documentation for full options.

Preview:

Splide Carousel & Slider Component For Vue

Changelog:

v0.6.4 (05/14/2022)

  • Update the Splide version.

v0.6.3 (04/06/2022)

  • Update the Splide version.

v0.6.1 (04/04/2022)

  • Update the Splide version.

v0.5.18 (01/26/2022)

  • Update the Splide version.

Download Details:

Author: Splidejs

Live Demo: https://splidejs.github.io/vue-splide/

Download Link: https://github.com/Splidejs/vue-splide/archive/master.zip

Official Website: https://github.com/Splidejs/vue-splide

Install & Download:

# NPM
$ npm i @splidejs/vue-splide --save

You Might Be Interested In:

Add Comment