flavorly / vanilla-components

A lightweight, flexible & customizable UI library for Vue 3, styled with Tailwind CSS.

Home Page:https://vanilla-components.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vue: Could not find a declaration file for module  @flavorly/vanilla-components .

srijan-scanova opened this issue · comments

I'm facing this error with import in WebStorm IDE. My application uses the latest version of Vue 3 with composition API and typescript. I found this solution [https://stackoverflow.com/questions/49258849/could-not-find-a-declaration-file-for-module-vue-xxx] But can we fix this in the next release.

Can you show me exactly what error you get? Did you tried with VScode? I heard some people also had issues with that module stuff with other packages.

I'm facing the same problem with PHPStorm:

Screenshot 2023-11-08 at 10 24 46

I've also tried VSCode and can confirm the same error:
Screenshot 2023-11-08 at 10 25 10

It seems the file "dist/index.d.ts" is not present.

Im gonna drop a new release soon this week, seems like something went wrong with generating types. Thanks for reporting im also getting this on PHPStorm / VScode