Skip to content

Inconsistent behaviour between .ts and .vue imports from referenced project #4516

Closed
@PindaPixel

Description

@PindaPixel

Vue - Official extension or vue-tsc version

v2.0.24

VSCode version

1.90.2

Vue version

3.4.31

TypeScript version

5.5.2

System Info

No response

Steps to reproduce

  1. See reproduction repository
  2. Open App.web.test.ts
  3. Notice that it can import from ./index, but not from ./App.vue, while they come from the same referenced project tsconfig.app.json
    image

Link to minimal reproduction

https://github.com/PindaPixel/vue-tsconfig-paths

Any additional comments?

I do not know for certain whether it should be able to import App.vue or should not be able to import from ./index, but to me it seems that at the very least it should be consistent between the two.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions