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
When i try to use Swiper Element in my project with register function nothing works, but when i use it with CDN link it works fine. Anyone knows how can i get it to work with register function
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
-
When i try to use Swiper Element in my project with register function nothing works, but when i use it with CDN link it works fine. Anyone knows how can i get it to work with register function
this import works
import "https://cdn.jsdelivr.net/npm/swiper@11/swiper-element-bundle.min.js"
but this one doesn't work
import { register } from 'swiper/element/bundle';
register();
reproduction link
Same issue in Stack Overflow
Beta Was this translation helpful? Give feedback.
All reactions