Image src with alias is not resolved correctly
in vscode,When using path aliases for the template and img src of the Vue file, cmd+click cannot jump to the corresponding path, but the import in the script can jump using path aliases.
The same problem in new version volar.
Same problem, hope to fix.
You can fix this by adding the following to you jsconfig/tsconfig.json file:
{
"compilerOptions": {
"paths": {
"@/*": [
"./src/*"
]
}
}
}
Any updates? still have the same problem with Vue - Official v2.0.28
It still remains unsolved till now and this problem still exists.
The temporary solution is to just type "/src/..." and replace all of the "/src" with "@", that's it.
any schedule?
20250628