How to develop swiper plugin? #4632
-
I'm going to make a plugin similar to https://github.com/nolimits4web/swiper/blob/master/src/components/effect-coverflow/effect-coverflow.js and solve #1928 But how to dev it locally and see changes? There is no an API to pass plugin to the swiper instance, so how to let it know we want it to load the effect-coverflow.js ? |
Beta Was this translation helpful? Give feedback.
Answered by
nolimits4web
Jun 1, 2021
Replies: 1 comment 9 replies
-
Setup any env you know, e.g. web pack, Vite, rollup, etc. Install swiper (
|
Beta Was this translation helpful? Give feedback.
9 replies
Answer selected by
linonetwo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Setup any env you know, e.g. web pack, Vite, rollup, etc. Install swiper (
npm i swiper
), create a new plugin file (probably based on Coverflow.js)