Skip to content

How to develop swiper plugin? #4632

Answered by nolimits4web
linonetwo asked this question in Q&A
Discussion options

You must be logged in to vote

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)

import Swiper from 'swiper'
import myPlugin from './path/to/myplugin.js';

Swiper.use([myPlugin]);

new Swiper(...);

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@linonetwo
Comment options

@linonetwo
Comment options

@nolimits4web
Comment options

@linonetwo
Comment options

@nolimits4web
Comment options

Answer selected by linonetwo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants