nuxt-swiper icon indicating copy to clipboard operation
nuxt-swiper copied to clipboard

Type errors with navigation, pagination, autoplay and creative-effect props in <Swiper>

Open talaxasy opened this issue 1 year ago • 7 comments

Nuxt: 3.2.3

For some reason when I updated package from 0.1.6 to 1.0.1 such props as navigation, pagination, autoplay and creative-effect have only undefined type

image image

talaxasy avatar Mar 12 '23 20:03 talaxasy

try to add <script></script> to the file I think it will solve this issue I think it's a bug. it seems to be working ok with <script setup></script> too and the problem is when you have either no

w3bsite avatar Mar 28 '23 02:03 w3bsite

@w3bsite Yes, I have always had

talaxasy avatar Mar 28 '23 12:03 talaxasy

@talaxasy I am going to run a couple test today to see if I can fix this as soon as possible!

Thanks for submitting the bug! In the meantime can you give me your npx nuxi info ?

cpreston321 avatar Mar 28 '23 13:03 cpreston321

@cpreston321 My Nuxt project info:



talaxasy avatar Mar 28 '23 23:03 talaxasy

@talaxasy I can't seem to reproduce it. The types are working fine on my end:

image image

Could you give me a reproduction link ?

Thanks!

cpreston321 avatar Apr 04 '23 15:04 cpreston321

@cpreston321 I'll try to reproduce in a few days

talaxasy avatar Apr 07 '23 06:04 talaxasy

Are you using vue-volar takeover mode as recommended by Vue docs?

FranciscoKloganB avatar Apr 08 '23 21:04 FranciscoKloganB