Gathering detailed insights and metrics for vue-awesome-swiper
Gathering detailed insights and metrics for vue-awesome-swiper
Gathering detailed insights and metrics for vue-awesome-swiper
Gathering detailed insights and metrics for vue-awesome-swiper
vue-awesome-swiper-rjs1
Swiper component for Vue
anx-vue-swiper
Swiper component for Vue
@brunobesson/vue-awesome-swiper
Swiper component for Vue
vue-awesome-swiper-fork
[](https://juejin.im/entry/57f6a5e7d2030900689c1e9c/detail) [
Shell (40.18%)
Total Downloads
25,478,568
Last Day
1,396
Last Week
54,379
Last Month
229,093
Last Year
3,285,079
MIT License
12,830 Stars
299 Commits
1,951 Forks
211 Watchers
6 Branches
19 Contributors
Updated on Jun 30, 2025
Minified
Minified + Gzipped
Latest Version
5.0.1
Package Id
vue-awesome-swiper@5.0.1
Unpacked Size
7.78 kB
Size
3.16 kB
File Count
5
NPM Version
8.5.0
Node Version
16.14.1
Cumulative downloads
Total Downloads
Last Day
-24.8%
1,396
Compared to previous day
Last Week
-9%
54,379
Compared to previous week
Last Month
-6.5%
229,093
Compared to previous month
Last Year
-22.2%
3,285,079
Compared to previous year
3
Swiper component for Vue.
The vue-awesome-swiper project will be deprecated in favor of Swiper Vue component, a TypeScript friendly project which is a recent official release provided by Swiper. For better stability, please migrate as soon as possible.
vue-awesome-swiper released its last version v5.0.0 for (bridge) transition. It's worth noting that APIs in this version are completely NOT compatible with that of previous version, it only re-exports swiper/vue
, which means only functions of that component are available. For example, the following code is fully equivalent in vue-awesome-swiper@5.0.0
. And if you want to check update catelog of Swiper API, please refer to Swiper Changelog.
1import { Swiper, SwiperSlide, /* rest swiper/vue API... */ } from 'vue-awesome-swiper' 2// exactly equivalent to 3import { Swiper, SwiperSlide, /* rest swiper/vue API... */ } from 'swiper/vue'
If you need to use older versions of vue-awesome-swiper, you can find the corresponding version number below. Feel free to fork our code and maintain your own copy.
1npm install swiper vue-awesome-swiper --save
1yarn add swiper vue-awesome-swiper
1<template> 2 <swiper :modules="modules" :pagination="{ clickable: true }"> 3 <swiper-slide>Slide 1</swiper-slide> 4 <swiper-slide>Slide 2</swiper-slide> 5 <swiper-slide>Slide 3</swiper-slide> 6 </swiper> 7</template> 8 9<script> 10 import SwiperClass, { Pagination } from 'Swiper' 11 import { Swiper, SwiperSlide } from 'vue-awesome-swiper' 12 13 // import swiper module styles 14 import 'swiper/css' 15 import 'swiper/css/pagination' 16 // more module style... 17 18 export default { 19 components: { 20 Swiper, 21 SwiperSlide 22 }, 23 setup() { 24 return { 25 modules: [Pagination] 26 } 27 } 28 } 29</script>
1import { createApp } from 'vue' 2import SwiperClass, { /* swiper modules... */ } from 'Swiper' 3import VueAwesomeSwiper from 'vue-awesome-swiper' 4 5// import swiper module styles 6import 'swiper/css' 7// more module style... 8 9// use swiper modules 10SwiperClass.use([/* swiper modules... */]) 11 12const app = createApp() 13app.use(VueAwesomeSwiper)
1<!-- All options and events of the original Swiper are supported --> 2<swiper 3 :modules="..." 4 :allow-touch-move="false" 5 :slides-per-view="1" 6 :autoplay="{ delay: 3500, disableOnInteraction: false }" 7 @swiper="..." 8 @slide-change="..." 9 @transition-start="..." 10 ... 11> 12 <template #container-start><span>Container start</span></template> 13 <template #wrapper-start><span>Wrapper start</span></template> 14 <swiper-slide>Slide 1<swiper-slide> 15 <swiper-slide v-slot="{ isActive }">Slide 2 {{ isActive }}<swiper-slide> 16 <swiper-slide>Slide 3<swiper-slide> 17 <template #wrapper-end><span>Wrapper end</span></template> 18 <template #container-end><span>Container end</span></template> 19</swiper>
Detailed changes for each release are documented in the release notes.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
2 existing vulnerabilities detected
Details
Reason
Found 1/30 approved changesets -- score normalized to 0
Reason
project is archived
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-06-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More