Open Barbapapazes opened 1 month ago
This issue is also present in the module template and seems to be related to the server part.
Any updates? I also encountered this issue, where with "typescript.typeCheck": true
inside nuxt.config.ts
nuxt throws errors about not finding imports inside #imports
alias... But types are picked up correctly from my IDE...
"dependencies": {
"nuxt": "^3.12.4",
"vue": "^3.4.38"
},
"devDependencies": {
"typescript": "^5.5.4",
"vue-tsc": "^2.0.29"
}
Hello,
You can reproduce by using this repo: https://github.com/Barbapapazes/nuxt-typecheck.
Without the
#import
, no errors are reported but by adding#import
alias (from the generatedtsconfig.json
), the tsc fails with this error: