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
I attempted to add Swiper (without any framework integration) to a web page, but when doing so I encounter a weird issue where
all javascript seems to fail after importing swiper.
never gets to the console.debug statement, and does not indicate any other issue in the console.
However, when removing the import {Swiper, Autoplay, Navigation} from "swiper" statement it does display correctly, and indicate that Swiper is undefined (rightly so).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Swiper version:
8.0.7
I attempted to add Swiper (without any framework integration) to a web page, but when doing so I encounter a weird issue where
all javascript seems to fail after importing swiper.
Essentially this
never gets to the
console.debug
statement, and does not indicate any other issue in the console.However, when removing the
import {Swiper, Autoplay, Navigation} from "swiper"
statement it does display correctly, and indicate that Swiper is undefined (rightly so).Has anybody experienced this?
Beta Was this translation helpful? Give feedback.
All reactions