vue-awesome
vue-awesome copied to clipboard
Could not find a declaration file for module
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);
Could you help me please?
I had the same problem. Is there a solution?
Same problem here just following the installation instructions (using Vue 3). This looks to be broken for Vue 3.