Skip to content

Could not find a declaration file for module #193

Open
@kaznache

Description

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?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions