whitedigital-eu-vue-splide
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

This is a fork of Vue Splide!

This fork was created to resolve a typescript type error in the `merge.ts` file, caused by an old typescrtipt version in @splidejs/vue-splide.

Vue Splide is the Vue component for the Splide slider/carousel.

Getting Started
Demo
Discussions

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: Using NPM:

$ npm install whitedigital-eu-vue-splide

Using Yarn:

$ yarn add whitedigital-eu-vue-splide

Import CSS and components:

<template>
  <Splide :options="{ rewind: true }" aria-label="Vue Splide Example">
    <SplideSlide>
      <img src="image1.jpg" alt="Sample 1">
    </SplideSlide>
    <SplideSlide>
      <img src="image2.jpg" alt="Sample 2">
    </SplideSlide>
  </Splide>
</template>

<script>
import { Splide, SplideSlide } from 'whitedigital-eu-vue-splide';
import { defineComponent } from 'vue';
import 'whitedigital-eu-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

Package Sidebar

Install

npm i whitedigital-eu-vue-splide

Weekly Downloads

11

Version

0.0.4

License

MIT

Unpacked Size

623 kB

Total Files

61

Last publish

Collaborators

  • iliepins