You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@nolimits4web first of all, thanks for creating the wonderful library.
In a project, we're trying to migrate from Swiper React to Elements, and I second @awacode21 comments, the documentation does not provide enough clarity on what to do. My code is almost exactly as documented here but this part of the documentation is a bit vague:
we also need to add modules styles globally and also inject modules styles to the shadow DOM
Does "add modules styles globally" mean import "swiper/element/css/pagination" in the context of a React app?
Does "inject modules styles to the shadow DOM" mean injectStylesUrls: ["swiper/element/css/pagination"]?
If not, how can we inject the existing styles provided by the package (i.e. stylesheets that already exist like node_modules/swiper/modules/pagination-element.min.css)?
Originally posted by @arman-h in #7485
The text was updated successfully, but these errors were encountered: