nolimits4web / swiper

Most modern mobile touch slider with hardware accelerated transitions
https://swiperjs.com
MIT License
39.73k stars 9.75k forks source link

Could not find a declaration file for module 'swiper/vue' #4308

Closed zhjq19660117 closed 3 years ago

zhjq19660117 commented 3 years ago

What You Did

Magic_swiper.vue

https://codesandbox.io/...

Expected Behavior

EXPLAIN WHAT IS TO BE EXPECTED, HERE.

Actual Behavior

EXPLAIN WHAT IS ACTUALLY HAPPENING, HERE.

nolimits4web commented 3 years ago

Use // @ts-ignore, there is no declarations for Swiper Vue components

vltansky commented 3 years ago

PR with types: https://github.com/nolimits4web/swiper/pull/4138

duplicate of https://github.com/nolimits4web/swiper/issues/3916