nuxt-swiper
nuxt-swiper copied to clipboard
Type errors with navigation, pagination, autoplay and creative-effect props in <Swiper>
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
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 Yes, I have always had
@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 My Nuxt project info:
- Operating System:
Linux
- Node Version:
v16.11.0
- Nuxt Version:
3.2.3
- Nitro Version:
2.2.3
- Package Manager:
[email protected]
- Builder:
vite
- User Config:
srcDir
,modules
,build
,routeRules
,app
,hooks
,i18n
,swiper
,pinia
,typescript
,tailwindcss
,apollo
,experimental
,runtimeConfig
,postcss
- Runtime Modules:
@nuxtjs/[email protected]
,unplugin-icons/nuxt
,[email protected]
,@vueuse/[email protected]
,[email protected]
,@nuxtjs/[email protected]
,@pinia/[email protected]
,@nuxtjs/[email protected]
- Build Modules:
-
@talaxasy I can't seem to reproduce it. The types are working fine on my end:


Could you give me a reproduction link ?
Thanks!
@cpreston321 I'll try to reproduce in a few days
Are you using vue-volar
takeover mode as recommended by Vue docs?