For the following line of code in App.vue
import TestComponent from '@/mytest/components/TestComponent.vue'
Vscode, specifically the vetur plugin, gives the error cannot find module @/mytest/components/TestComponent.vue
I checked my tsconfig.json file and my alias is correct set up as follows:
"paths": {
"@/*": [
"src/*"
]
},
the path to my component is: src/mytest/components/TestComponent.vue
The code compiles and runs just fine, it's Vscode giving me these errors.
How can I fix this?