Window click ctrl (MAC click command) + files, methods, etc. imported through import, jump to the file where it is located
Create a new file jsconfig.json in the project root directory and add the following code
{
"allowJs": true,
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}
},
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
After adding, restart VsCode to take effect