-
-
Notifications
You must be signed in to change notification settings - Fork 448
Inconsistent behaviour between .ts
and .vue
imports from referenced project
#4516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
.ts
and .vue
imports from referenced project
The issue here is that you only include Use https://github.com/vuejs/create-vue to create a project with a well-defined base structure. |
This still doesn't explain the inconsistent behaviour to me though. Also what else is the references for? |
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
App.web.test.ts
./index
, but not from./App.vue
, while they come from the same referenced projecttsconfig.app.json
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.The text was updated successfully, but these errors were encountered: