vue-awesome icon indicating copy to clipboard operation
vue-awesome copied to clipboard

Could not find a declaration file for module

Open kaznache opened this issue 3 years ago • 2 comments

Hi!

Got an error after installing new version of vue-awesome (4.3.1)

Could not find a declaration file for module 'vue-awesome/components/Icon'. 'PATH/node_modules/vue-awesome/components/Icon.js' implicitly has an 'any' type.
Try `npm install @types/vue-awesome` if it exists or add a new declaration (.d.ts) file containing `declare module 'vue-awesome/components/Icon';`

Unfortunately @types/vue-awesome module doesnt exist.

I use it like this:

import Icon from 'vue-awesome/components/Icon';
Vue.component('icon', Icon);

image

Could you help me please?

kaznache avatar Jun 04 '21 14:06 kaznache

I had the same problem. Is there a solution?

timnick-snow avatar Jul 26 '21 08:07 timnick-snow

Same problem here just following the installation instructions (using Vue 3). This looks to be broken for Vue 3.

hspaay avatar Oct 18 '21 02:10 hspaay