Skip to content

🐛 BUG: Vue types imported from monorepo package are not regonized #674

@minht11

Description

@minht11

Describe the Bug

I have monorepo, with two packages one is vue components and other regular astro site. I use project references and so on. Importing regular ts/tsx files inside astro pages work as expected, but when I try importing any of my vue components, types are not resolved correctly. If i reexport vue components to index.ts and then import that, it shows that such export exists but types are empty. Actual vue component runs, just types are wrong.

Semi related to #649 but I don't do any bundling/dts emit so it is bit different.

Steps to Reproduce

  1. Setup monorepo with 2 packages. One vue components, other regular astro site.
  2. Try to import component from vue package, into astro site.
  3. Observe types being not recognized.

Metadata

Metadata

Assignees

No one assigned

    Labels

    - P3: minor bugAn edge case that only affects very specific usage (priority)feat: vueRelated to the Vue integration (scope)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions