@splidejs/vue-splide

The Splide component for Vue.
1,346,037 333
Install
npm install @splidejs/vue-splide
Latest Version:0.6.12
Vue:3
Older releases:2
License:MIT
Last Updated:Jul 24, 2024
Links: GitHub  ·  npm
Maintainer: splidejs

Caveat

The latest version only supports Vue 3. You have to use the old version (0.3.5) for Vue 2, but the Splide version is also outdated.

Quick Start

Get the latest version from NPM:

$ npm install @splidejs/vue-splide

Import CSS and components:

<template>
  <Splide :options="{ rewind: true }" aria-label="Vue Splide Example">
    <SplideSlide>
      <img src="https://raw.githubusercontent.com/Splidejs/vue-splide/HEAD/image1.jpg" alt="Sample 1">
    </SplideSlide>
    <SplideSlide>
      <img src="https://raw.githubusercontent.com/Splidejs/vue-splide/HEAD/image2.jpg" alt="Sample 2">
    </SplideSlide>
  </Splide>
</template>

<script>
import { Splide, SplideSlide } from '@splidejs/vue-splide';
import { defineComponent } from 'vue';
import '@splidejs/vue-splide/css';

export default defineComponent( {
  components: { Splide, SplideSlide },
} );
</script>

Visit here for more details.

Support Splide

Please support the project if you like it!

License

Vue Splide and Splide are released under the MIT license. © 2022 Naotoshi Fujita

Related Packages

@antik-web/vue-splide

The Splide component for Vue with fixed type errors.

6,551 333
nuxt-splide

Splide is lightweight slider/carousel, no dependencies, no lighthouse errors

25,887 13
embla-carousel-aria

An accessibility plugin for Embla Carousel

29,236 14
embla-carousel

A lightweight carousel library with fluid motion and great swipe precision

1,138,077,498 8,453

Version History

Version Released License
0.6.12 MIT
0.6.11 MIT
0.6.10 MIT
0.6.9 MIT
0.6.8 MIT