Replies: 2 comments
-
I also try to find information how to actually use version 7 of this awesome library. I can't change the build-process in my project, which is created with vue-cli, and don't know the implications of running ESM only with webpack, babel and all that stuff that many webdevs like me let other boilerplate-frameworks take care of |
Beta Was this translation helpful? Give feedback.
-
I'm getting the same problem I think. I update react-scripts to "5.0.1", and this stop to work: import { Swiper } from "swiper/react/swiper-react.js";
import "swiper/swiper.min.css"; now I have to use like this: import { Swiper } from "swiper/react";
import "swiper/css"; And now is broken on my storybook build :/ It was cool that we could use the imports like the example in: Swipper with create react app, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Check that this is really a bug
Reproduction link
...
Bug description
Hey, i see that conversation on that issue is blocked, do you plan to add working out of the box with newest CRA? it is weird that package which have react components doesn't work out of the box with newest React and most popular react app setup.
Expected Behavior
No response
Actual Behavior
No response
Swiper version
7+
Platform/Target and Browser Versions
macOs
Validations
Would you like to open a PR for this bug?
Beta Was this translation helpful? Give feedback.
All reactions