https://www.cnblogs.com/terrysu/p/9329570.html
vsCode配置import@路径提示
在根目录添加 jsconfig.json
。
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": [
"./src/*"
]
},
},
"include": [
"./src/**/*",
],
}
重启vscode