CSS moved in Swiper 6.1.1
See original GitHub issueHi, I tried to import
the css
style as per the “Get Started” documentation https://react-id-swiper.ashernguyen.site/doc/get-started
In the “Stylesheet” section there is the following snippet to import the Swiper stylesheet:
import 'swiper/css/swiper.css';
But I got a Module not found: Can't resolve 'swiper/swiper.css'
So I looked into the package and imported the style like this:
import 'swiper/swiper-bundle.min.css';
It now works for me.
Did I do something wrong or should the docs be updated?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:11
- Comments:6
Top Results From Across the Web
Developers - CSS moved in Swiper 6.1.1 - - Bountysource
Hi, I tried to import the css style as per the "Get Started" documentation https://react-id-swiper.ashernguyen.site/doc/get-started.
Read more >Swiper Changelog
Swiper is the most modern free mobile touch slider with hardware accelerated transitions and amazing native behavior.
Read more >Disable Swiper Slider if only 1 slide - Stack Overflow
Very clean solution to disable swiping. Used it together with zoom {zoom : true, watchOverflow: true} to display a picture that can be...
Read more >Swiper - Effect fade - CodeSandbox
<!DOCTYPE html> · <html lang="en"> · <head> · <meta charset="utf-8" /> · <title>Swiper demo</title> · <!-- Link Swiper's CSS --> · <link ·...
Read more >React Image Slider with Swiper JS from scratch - YouTube
Learn how to build an image carousel in React using Swiper JS in react ... So you should do custom CSS on the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks it works, but I think navigation functionalities are broken (prev, next button actions and autplay)
Not only do the navigation functionalities are broken, but the .scss file won’t work either. Please fix this.