Open paulvonber opened 1 month ago
package.json contains
"main": "dist/carousel.js",
"module": "dist/carousel.es.js",
If you're using Nuxt, it prefers the value in main.
Temp workaround is to specify the full path of the module.
import { Carousel, Slide, Pagination, Navigation } from 'vue3-carousel/dist/carousel.es.js'
If you're using Nuxt, it prefers the value in main.
Temp workaround is to specify the full path of the module.
import { Carousel, Slide, Pagination, Navigation } from 'vue3-carousel/dist/carousel.es.js'
Yeah that's what I did. Thanks anyway!
There is a problem if use it in Typescript:
Could not find a declaration file for module 'vue3-carousel/dist/carousel.es.js'. 'node_modules/vue3-carousel/dist/carousel.es.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/vue3-carousel` if it exists or add a new declaration (.d.ts) file containing `declare module 'vue3-carousel/dist/carousel.es.js';`
Describe the bug After update to 0.3.3 doesn't load components anymore
Screenshots