什么是Swiper，Most modern mobile touch slider and framework with hardware accelerated transitions
Swiper - is the free and most modern mobile touch slider with hardware accelerated transitions and amazing native behavior. It is intended to be used in mobile websites, mobile web apps, and mobile native/hybrid apps. Designed mostly for iOS, but also works great on latest Android, Windows Phone 8 and modern Desktop browsers
Swiper is not compatible with all platforms, it is a modern touch slider which is focused only on modern apps/platforms to bring the best experience and simplicity.
On production use files (JS and CSS) only from
dist/ folder, there will be the most stable versions,
build/ folder is only for development purpose
gulp to build a development (build) and production (dist) versions.
First you need to have
gulp-cli which you should install globally.
$ npm install --global gulp
Then install all dependencies, in repo’s root:
$ npm install
And build development version of Swiper:
$ npm run build:dev
The result is available in
$ npm run build:prod
Production version will available in
All changes should be committed to
src/ files only. Before you open an issue please review the contributing guideline.
If you are still using Swiper 3.x.x, you may find it in Swiper3 Branch
If you are still using Swiper 2.x.x or you need old browsers support, you may find it in Swiper2 Branch