Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

207
Views
Splide slider Vue package simply doesn't work

No idea what the issue here is, should be as simple as install, import and use!

I have got a base component, this imports another component which contains Splider:

// Base.vue

<template>
    <div class="detailGallery">
        <div class="detailGalleryViewer">
            <keep-alive>
                <component v-bind:is="currentComponent" :vehicle-id="vehicleId"></component>
            </keep-alive>
        </div>
    </div>
</template>
<script>
export default {
    props: {
        vehicleId: {
            required: true,
            type: Number|String
        }
    },
    computed: {
        currentComponent() {
            return () => { component: import('./Gallery.vue') };
        }
    }
}
</script>
// Gallery.vue

<template>
  <div>Gallery</div>
</template>
<script>
import { Splide, SplideSlide } from '@splidejs/vue-splide';
export default {
  components: {
    Splide,
    SplideSlide,
  },
  props: {
    vehicleId: {
      required: true,
      type: Number | String,
    },
  }
};
</script>

enter image description here

As you can see very simple setup, however all i'm getting is the following error:

Uncaught (in promise) TypeError: Object(...) is not a function at Module../node_modules/@splidejs/vue-splide/dist/js/vue-splide.esm.js (9b9e393020eef216bce4.js:2463:80)

Anyone encountered this!? Got a deadline and I need to use this!

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!