Swiper Card Effect not working #7464
Christian-Vasilev
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to get the Swiper card effect to work but with no success. I'm using Laravel + Vite with the core JS of Swiper.
I've followed the quick start guide and installed via NPM the package for Swiper.
After that I've add in
app.js
the following linesimport Swiper from "swiper";
In my
app.css
I've added the following lines:In the end in the HTML I've added the following structure:
And this is the end result:
Screen.Recording.2024-04-12.at.9.47.23.mov
I copied ready examples from codepen and they don't seem to work too.
This is what I've got in my Swiper's NPM directory in
node_modules
.Am I importing something wrong or what?
I've also checked https://swiperjs.com/swiper-api#css-styles and tried to add the styles from there that are related to the cards, but I have no
CSS
folder in general in the package.Beta Was this translation helpful? Give feedback.
All reactions