surmon-china/vue-awesome-swiper ? reverse-engineered prompt

Reverse engineered prompt

Build me a Vue 3 swiper carousel component that wraps Swiper and makes it easy to show image or content slides in a modern app.

I want it to work both as a local component and as a plugin I can install globally. It should support the usual Swiper features like pagination, autoplay, slide change events, touch control, and passing through the common options. Please include a simple example with a few slides, plus a version that shows how to use it with named slots for things like content before and after the slides.

Make it easy to import the needed Swiper styles and modules, and keep the API feeling like a normal Vue component rather than something complicated. If there are current Swiper docs or best practices I should follow, look those up online and use them.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab