Skip to content

v2.0.11 and later, In typescript files, importing .vue files yields "Cannot find module" error #4288

@michaeldaw

Description

@michaeldaw

In v2.0.11 and later, any typescript file that attempts to import a .vue file results in the error message in the following screenshot:
Cannot find module <module> or it's corresponding type declarations

The most obvious case of this happening is in the main.ts when attempting to import App.vue in a default project. However, it happens in any .ts file.

Reverting back to 2.0.10 fixes the issue. The error starts occurring in 2.0.11.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions