vscode配置webpack alias支持
安装node modules resolve插件
添加jsconfig配置
https://code.visualstudio.com/docs/languages/jsconfig
{
"compilerOptions": {
"target": "es2017",
"allowSyntheticDefaultImports": false,
"baseUrl": "./",
"paths": {
"@/*": ["src/*"]
}
},
"exclude": ["node_modules", "dist"]
}
一点、一点才能到达彼岸