There was an error using the swiper in Nextjs.
"next": "^11.1.2", "swiper": "^7.0.5"
I'm using the version and couldn't get the swiper.scss. I want to know how to solve the issue.
Module not found: Package path ./swiper.scss is not exported from package
enter image description here
I solved this problem.
In that version
import 'swiper/scss'
import 'swiper/scss/navigation'
import 'swiper/scss/pagination'
You should use it like this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With