Vue auto-import from monorepo library Follow
When in a monorepo setup, i.e:
apps
-- vue-app
-- tsconfig.json (paths alias to packages/ui)
packages
-- ui
-- utils.ts
-- MyPackageComponent.vue
Imports from utils.ts get correctly suggested on auto-import, but Vue components do not get suggested for auto-import. It seems that Vue component auto imports will only detect components that are within the app folder.
Is this a known issue? I was not able to find anything on this. A bit of a dealbreaker for a monorepo setup that relies on relative path imports.
Note, this appears to be a problem in Volar as well.
Please sign in to leave a comment.
Doesn't look like a known issue. Do you have a sample repo you could share that reproduces the problem?